fetching files and directories