System.IO.__Error.EndOfFile C# (CSharp) Method