Loading dataset from local path
{'login': 'kolakows', 'id': 34172905, 'node_id': 'MDQ6VXNlcjM0MTcyOTA1', 'avatar_url': 'https://avatars.githubusercontent.com/u/34172905?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/kolakows', 'html_url': 'https://github.com/kolakows', 'followers_url': 'https://api.github.com/users/kolakows/followers', 'following_url': 'https://api.github.com/users/kolakows/following{/other_user}', 'gists_url': 'https://api.github.com/users/kolakows/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/kolakows/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/kolakows/subscriptions', 'organizations_url': 'https://api.github.com/users/kolakows/orgs', 'repos_url': 'https://api.github.com/users/kolakows/repos', 'events_url': 'https://api.github.com/users/kolakows/events{/privacy}', 'received_events_url': 'https://api.github.com/users/kolakows/received_events', 'type': 'User', 'site_admin': False}
[]
[]
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='.')
```
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
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/2373/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}