int recordCount = countRecords(recordMap);
Mediator.getLogger(Daemon.class.getName()).log(Level.FINE, "Linking {0} records...", recordCount);
List<LinkedRecord> linkedRecordList = new RecordLinker(recordMiner).link(recordMap);
if (!linkedRecordList.isEmpty()) {
Mediator.getLogger(Daemon.class.getName()).log(Level.FINE, "{0} records linked.", linkedRecordList.size());
RecordFormat oneLineFormat = new OneLineRecordFormat();
RecordCsvWriter csvWriter = new RecordCsvWriter(oneLineFormat);
int recordsPerFile = 100;
try {
recordsPerFile = Integer.parseInt(Mediator.getProperty("outputrecordlimit"));