need to merge all file names into file and sort by the date in the file name