write(new FileOutputStream(filename));
FileOutputStream out = new FileOutputStream(filename); write(out); out.flush(); out.close();
  public void write(String filename) throws IOException  {    write(new FileOutputStream(filename));  }