removing all odd characters from a file