Some clean up of text files