public void marshal(ParameterFile data, OutputStream outputStream) {
        try {
            Marshaller marshaller = jaxbContext.createMarshaller();
            marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
            marshaller.marshal(data, outputStream);
        } catch (final JAXBException e) {
            throw new RuntimeException(e);
        }
    }
Usage java stroom.util.config.Configure
<pre><code>{@code <parameter file> <files to process>}</code></pre>
stroom-util/src/main/java/stroom/util/config/Configure.java