if (this.process) { if (this.directoryMode) {  this.processorManager.process(doc, new HashMap(), this.pipeline, f.getAbsolutePath()); } else {   this.processorManager.process(doc, new HashMap(), this.pipeline, new FileOutputStream(output));  } } else { OutputStream out = null;
if (this.process) { if (this.directoryMode) {
    private void parseFile(File f, String output) {        try {            this.parser.parse(new FileInputStream(f), encoding);            DXFDocument doc = parser.getDocument();            if (this.process) {                if (this.directoryMode) {                	                    this.processorManager.process(doc, new HashMap(),                        this.pipeline, f.getAbsolutePath());                } else {                    // user set name                	                    this.processorManager.process(doc, new HashMap(),                        this.pipeline, new FileOutputStream(output));                                    }            } else {                OutputStream out = null;                if (gzip) {                    out = new GZIPOutputStream(new FileOutputStream(output));                } else {                    out = new FileOutputStream(output);                }                SAXPrettyOutputter writer = new SAXPrettyOutputter(out,                        SAXPrettyOutputter.DEFAULT_ENCODING);                if (this.outputDTD) {                    writer.setDTD(SVGConstants.SVG_DTD_1_0);                }                            doc.toSAX(writer, null);            }        } catch (Exception e) {            e.printStackTrace();        }    }