var visio = new Diagram("template.vstm");
visio.Save("output.vstm", SaveFileFormat.VSTM);