remove repeating characters from a file

This will help you if you need to remove a repeating characters from a file and replace it with a single instance of that character or even a different character.
Merge pull request #2 from mordancy/remove_repeating_characters_from_a_file

remove repeating characters from a file