private static void writeTestFile(final Path testFile, final String feedName, final String data)
            throws IOException {

        FileUtil.mkdirs(testFile.getParent());
        try (final ZipArchiveOutputStream zipOutputStream =
                ZipUtil.createOutputStream(Files.newOutputStream(testFile))) {
            zipOutputStream.putArchiveEntry(new ZipArchiveEntry(StroomZipEntry.SINGLE_META_ENTRY.getFullName()));
            PrintWriter printWriter = new PrintWriter(zipOutputStream);
            printWriter.println("Feed:" + feedName);
            printWriter.println("Proxy:ProxyTest");
            printWriter.flush();
            zipOutputStream.closeArchiveEntry();
            zipOutputStream.putArchiveEntry(new ZipArchiveEntry(StroomZipEntry.SINGLE_DATA_ENTRY.getFullName()));
            printWriter = new PrintWriter(zipOutputStream);
            printWriter.print(data);
            printWriter.flush();
            zipOutputStream.closeArchiveEntry();
        }
    }
Class for creating test files in the proxy aggregation directory for manually
testing proxy aggregation
stroom-app/src/test/java/stroom/receive/ProxyAggregationLoader.java