}
public int save(openedFile f) {
//TODO: catch failures and so on
if(f.obj instanceof wowfile) {
wowfile o = (wowfile)f.obj;
// re-render object appears
adtObjHelper objh = new adtObjHelper((adt)o);
objh.generateAppeareances();
o.render();
// check
adtChecker check = new adtChecker((adt)o);
/* if(*/check.check();/*==0) {*/
fileLoader.saveBuffer(o.buff , f.f.getAbsolutePath());