Get time from the filename