if (line.isEmpty()) {
continue; // skip empty lines
}
// write the tuple in files[tuple.label]
Instance instance = converter.convert(id++, line);
int label = instance.getLabel();
files[currents[label]].writeBytes(line);
files[currents[label]].writeChar('\n');
// update currents