delete a tmp file