Loading dataset from local path
NONE
Version below works, checked again in the docs, and data_files should be a path.
```
ds = datasets.load_dataset('my_script.py', 
                           data_files='/data/dir/corpus.txt', 
                           cache_dir='.')
```
2021-05-18T15:36:35Z
https://github.com/huggingface/datasets/issues/2373#issuecomment-843276981
https://api.github.com/repos/huggingface/datasets/issues/2373
MDEyOklzc3VlQ29tbWVudDg0MzI3Njk4MQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/843276981/reactions
2021-05-18T15:36:35Z
https://api.github.com/repos/huggingface/datasets/issues/comments/843276981
https://avatars.githubusercontent.com/u/34172905?v=4
https://api.github.com/users/kolakows/events{/privacy}
https://api.github.com/users/kolakows/followers
https://api.github.com/users/kolakows/following{/other_user}
https://api.github.com/users/kolakows/gists{/gist_id}
https://github.com/kolakows
kolakows
MDQ6VXNlcjM0MTcyOTA1
https://api.github.com/users/kolakows/orgs
https://api.github.com/users/kolakows/received_events
https://api.github.com/users/kolakows/repos
https://api.github.com/users/kolakows/starred{/owner}{/repo}
https://api.github.com/users/kolakows/subscriptions
User
https://api.github.com/users/kolakows
public
I'm trying to load a local dataset with the code below

```
ds = datasets.load_dataset('my_script.py', 
                           data_files='corpus.txt', 
                           data_dir='/data/dir', 
                           cache_dir='.')
```
But internally a BuilderConfig is created, which tries to use getmtime on the data_files string, without using data_dir. Is this a bug or am I not using the load_dataset correctly?

https://github.com/huggingface/datasets/blob/bc61954083f74e6460688202e9f77dde2475319c/src/datasets/builder.py#L153