txt file cleanup