can now gather files from a directory