Added remove string from file function.