Purge tmp file