The Output of this code
string fileDateTime = \"StepsGA-\" + DateTime.Now.ToString(\"dd-MM-yyyy-HH-mm-ss\") + \".txt\"; string fname = System.IO.Path.Combin
Got the answer ! Instead of \n I needed to use Environment.NewLine.
\n
Environment.NewLine