clean the temporary file