added def for directory where to fetch files.