correcting the temporary file name