Cleaning up tmpfile