Makes a txt file with the files in a dir