oos.close();
  public void writeModelCollection(String objectOutputFilename,				   String trainingInputFilename,				   String trainingOutputFilename)    throws FileNotFoundException, IOException {    FileOutputStream fos = new FileOutputStream(objectOutputFilename);    int bufSize = Constants.defaultFileBufsize;    BufferedOutputStream bos = new BufferedOutputStream(fos, bufSize);    ObjectOutputStream oos = new ObjectOutputStream(bos);    writeModelCollection(oos,			 trainingInputFilename, trainingOutputFilename);    oos.close();  }