# Reading a set of specific files

**URL:** <https://forum.cloverdx.com/t/reading-a-set-of-specific-files/936>\
**Category:** CloverDX Platform\
**Created:** [September 22, 2011, 12:00am UTC](https://forum.cloverdx.com/t/reading-a-set-of-specific-files/936 "2011-09-22T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![giorashc](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@giorashc](https://forum.cloverdx.com/u/giorashc)\
**Post date:** [September 22, 2011, 12:00am UTC](https://forum.cloverdx.com/t/reading-a-set-of-specific-files/936/1 "2011-09-22T00:00:00Z")

</div>

Hi All,

I want to run a graph which reads a set of csv files. My problem is that this set of files is generated at runtime (I cannot express it as a regular expression since I do not know exactly which  
file I will read).

Is there a way to “tell” the reader which files to read at runtime ?

Thanks

---

<div class="post-metadata">

**Author:** ![avackova](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@avackova](https://forum.cloverdx.com/u/avackova)\
**Post date:** [September 22, 2011, 11:29am UTC](https://forum.cloverdx.com/t/reading-a-set-of-specific-files/936/2 "2011-09-22T11:29:59Z")

</div>

Hello,  
you can feed the DataReader with file names to read with input port (see [Input Port Reading](http://www.cloveretl.com/documentation/UserGuide/topic/com.cloveretl.gui.docs/docs/input-port-reading.html)). The set of URLs you can prepare in [DataGenerator](http://www.cloveretl.com/documentation/UserGuide/topic/com.cloveretl.gui.docs/docs/datagenerator.html) and send it to DataReader similarly as described in [Process only unprocessed files](http://forum.cloveretl.org/viewtopic.php?f=5&t=2346).
