Delete temporary file after loading it