txt cleanup