PropertiesLoader propertiesLoader = new DefaultPropertiesLoader(
cmd.getOptionValue(PROPERTIES_PATH, DefaultPropertiesLoader.DEFAULT_PROPERTIES_PATH));
Reporting reporting = createReportingEngine(propertiesLoader);
XmlReader xmlReader = new DefaultXmlReader();
Report report = xmlReader.parseXml(FileUtils.readFileToString(new File(cmd.getOptionValue(REPORT_PATH))));
Map<String, Object> params = parseReportParams(cmd, report);
reporting.runReport(new RunParams(report)
.templateCode(templateCode)
.params(params),