while (csv.next() && !shouldStop()) {
updateStatus("Reading data");
for (final BaseCachedColumn column : getColumns()) {
if (column instanceof FileData) {
if (column.isInput()) {
final FileData fd = (FileData) column;
final String str = csv.get(fd.getIndex());
final double d = getInputFormat().parse(str);
fd.getData()[row] = d;
}
}
}
row++;
}