System.out.println("==="+path + ">" + output+"===");
Pipeline p;
try {
p = LoniSpecification.getXMLParser().parse(new File(path));
LoniToTavernaConverter l2t = new LoniToTavernaConverter();
Workflow workflow= (Workflow) l2t.visit(p);
try {
TavernaSpecification.getXMLGenerator().generate(workflow, output);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();