Added more configuration checking in the CSV read