File length issue in C# file.