Added validation of CSV file headers and schema