public void export(SOSConnection sosConnection, String queryfile, String filename, String jobChain, String operation) throws Exception{
org.w3c.dom.Element queries = null;
SOSStandardLogger sosLogger = null;
SOSExport export = null;
try {
//sosLogger = new SOSStandardLogger(getLogger().getFileName(), getLogger().getLogLevel());
sosLogger = new SOSStandardLogger(spooler.log().filename(), getLogger().getLogLevel());
export = new SOSExport(sosConnection, filename, "EXPORT", sosLogger);
queries = getQueryElement(queryfile, jobChain);