Make sure to delete the temporary file