I have 31 inputs files with named from `date=2018-01-01` till `date=2018-01-31`.

I am able to load all these files into an rdd this way:

```
val input = sc.textFile("hdfs://user/cloudera/date=*")

```

But what if I want to load the files for only 1 week? (files from date=2018-01-15 to date=2018-01-22).