String filename = getReservedReadeFilename(reader);
if (detachable) {
FileDataSource fds = new FileDataSource(filename, reader);
dataSources.add(fds);
SourceSwitchingIterator ssi = new SourceSwitchingIterator(fds);
iters.add(new ProblemReportingIterator(tablet.getTableId().toString(), filename, continueOnFailure, ssi));
} else {
iters.add(new ProblemReportingIterator(tablet.getTableId().toString(), filename, continueOnFailure, reader));
}
}
return iters;
}