private void initReportWriter() {
		// Create an output factory
		final XMLOutputFactory xmlof = XMLOutputFactory.newInstance();

		// Create an XML stream writer
		final File reportFile = new File(getOutputDirectory(), "report.xml");
		try {
			reportWriter = xmlof.createXMLStreamWriter(new FileWriter(reportFile));

		} catch (final XMLStreamException e) {
			e.printStackTrace();
		} catch (final IOException e) {
			e.printStackTrace();
		}
	}