# Data files not working with custom loading script and dataset

**URL:** <https://discuss.huggingface.co/t/data-files-not-working-with-custom-loading-script-and-dataset/38267>\
**Category:** 🤗Datasets\
**Created:** [May 1, 2023, 9:22am UTC](https://discuss.huggingface.co/t/data-files-not-working-with-custom-loading-script-and-dataset/38267 "2023-05-01T09:22:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Howuhh](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/howuhh/32/15739_2.png) [@Howuhh](https://discuss.huggingface.co/u/Howuhh)\
**Post date:** [May 2, 2023, 3:38pm UTC](https://discuss.huggingface.co/t/data-files-not-working-with-custom-loading-script-and-dataset/38267/4 "2023-05-02T15:38:40Z")

</div>

Actually, they kinda work, but only when you pass absolute url, not relative path (and manually filter in the loading script based on data\_files). So the real issue is with correct formatting. Base path should be appended to the relative path for datasets with custom scripts too.

---

_[View the full topic](https://discuss.huggingface.co/t/data-files-not-working-with-custom-loading-script-and-dataset/38267)._
