deletes tmp.txt