get date from file name