Playing with file reading and analysis in C#