Added function for replacing string in file, passed new tests, ready for 0.0.3