deffilename = filename;
  private void readFile(String filename) {    InputStream stream = null;    try {      setDirectories(filename);      if (filename.equals("-")) {        debug("Reading from standard input.");        stream = new java.io.DataInputStream(System.in);      } else {        debug("Reading \""+filename+"\".");        stream = new FileInputStream(filename);      }            InputStreamReader isr = new InputStreamReader(stream);      BufferedReader br = new BufferedReader(isr);            for (String line = br.readLine(); line != null; line=br.readLine()) {        if (!(line.startsWith(";") ||              line.startsWith("#"))) {          line=line.trim();          // not a comment          if (line.length()>0) {            if (version != null) {              version=version+"/"+line;            } else {              version=line;            }          }        }      }      br.close();      didIt = true;    } catch (Exception e) {      e.printStackTrace();    }  }