delete tmp file after merging