public void optimizeTag(String file) throws IOException,
ClassNotFoundException {
ModelIO.loadFrom(file);
Linear cl=ModelIO.cl;
TempletGroup templates=ModelIO.templets;
ModelIO.saveTo(file+".bak", templates, cl);
removeZero(cl);
ModelIO.saveTo(file,templates,cl);
System.out.print("Done");
}