Add way to get temp from file name.