//System.out.println("output file = "+outputFile);
try {
OutputStreamWriter output = new OutputStreamWriter(new FileOutputStream(dest),"UTF-8");
MachineConfiguration mc = MachineConfiguration.getSingleton();
tool = mc.GetCurrentTool();
SetupTransform();
output.write(mc.GetConfigLine()+";\n");
output.write(mc.GetBobbinLine()+";\n");
tool.WriteChangeTo(output);
TextSetAlign(Align.CENTER);
TextSetVAlign(VAlign.MIDDLE);
TextCreateMessageNow(lastMessage,output);