deletes temp file