Please, read my comments to the question. I think your file is broken.
\r
and
\n
switches are non-printable signs and shouldn't be visible.
See:
Strings (C# Programming Guide)[
^]
Check this:
string s = "Hi\r\nMy name is Maciej";
File.WriteAllText(@"D:\s.txt",s);
s = File.ReadAllText(@"D:\s.txt");
Console.WriteLine(s);
It prints:
Hi
My name is Maciej