C# CSV file parser with flexible configuration