Removing empty tmp file