rename the files so the date comes first