code: static private SoftTFIDFDictionary loadSomehow(String fileName) throws IOException,ClassNotFoundException
      {
          SoftTFIDFDictionary dict = null;
          long start0 = System.currentTimeMillis();
          if (fileName.endsWith(".list")) {
              System.out.println("loading aliases...");
              dict = new SoftTFIDFDictionary();
              dict.loadAliases(new File(fileName));
          } else {
              System.out.println("restoring...");
              dict = restore(new File(fileName));
          }
          double elapsedSec0 = (System.currentTimeMillis()-start0) / 1000.0;
          System.out.println("loaded in "+elapsedSec0+" sec");
          long start1 = System.currentTimeMillis();
          System.out.println("freezing...");
          dict.freeze();
          double elapsedSec1 = (System.currentTimeMillis()-start1) / 1000.0;
          System.out.println("frozen in "+elapsedSec1+" sec");
          System.out.println("total i/o "+(elapsedSec1+elapsedSec0)+" sec");
          return dict;
      }
docs: for testing