CsvMapper mapper = new CsvMapper();
CsvSchema schema = CsvSchema.builder()
.setUseHeader(true)
.build();
MappingIterator<T> it = mapper.reader(cls)
.with(schema).readValues(inputFile);
while (it.hasNext()) {
@SuppressWarnings("unused")
T row = it.nextValue();
++count;