saves textfile of pickled filenames