I can't figure out how to fix this error for my input file - C#