Copy filenames and folders to a file. (Must see...)