public ObjectToCsvMapper(String mappingDefinition, String outputFilename) {
this.mappingDefinition = mappingDefinition;
try {
this.output = new FileWriter(outputFilename);
csvWriter = new CSVWriter(output);
} catch (IOException e) {
log.error("Unable to open the specified file, " + outputFilename
+ ", for writing.", e);
throw new RuntimeException(e);
}