Check the header of the CsvFile before reading the first row

When reading a bean the Headers should be checked before reading an actual row.