DataOutputStream datOut = openFile(dat);
DataOutputStream csvOut = openFile(csv);
ResultManager rp = new ResultManager(datOut, csvOut);
XMLJDOMReader reader = new XMLJDOMReader();
reader.readDocument(args[0]);
Document doc = reader.getDocument();
/* Read XML document containing approximation results */
XMLJDOMReader reader2 = new XMLJDOMReader();
reader2.readDocument(args[1]);
Document docApproximation = reader2.getDocument();
rp.computeResults(doc, docApproximation, Integer.valueOf(args[2]));
/*
for (int i = 1; i<= 10;i++){