deffilename=assetFilename;
  protected void processFile(String assetFilename) {    InputStream stream = null;    try {	setDirectories(assetFilename);      if (assetFilename.equals("-")) {        debug("Reading from standard input.");        stream = new java.io.DataInputStream(System.in);      } else {        debug("Reading \""+assetFilename+"\".");        stream = new FileInputStream(assetFilename);      }      Session p = new Session(stream);      session = p;      p.parse();      p.write();      //p.writeBeanInfo();      p.writeFactory("AssetFactory.java");      p.done();      stream.close();    } catch (Exception e) {      System.err.println("Caught: "+e);      e.printStackTrace();    }  }