{
OutputStream fout = null;
try
{
fout = new BufferedOutputStream(new FileOutputStream(targetFile));
final ZipRepository zipRepository = new ZipRepository(fout);
final ContentLocation root = zipRepository.getRoot();
final ContentLocation data = RepositoryUtilities.createLocation
(zipRepository, RepositoryUtilities.split(dataDirectory, "/"));
final StreamingReportProcessor sp = new StreamingReportProcessor();
final HtmlOutputProcessor outputProcessor = createOutputProcessor();