code: public void to(File file) throws WriterException {
          try {
              this.to(new FileOutputStream(file));
          } catch (FileNotFoundException e) {
              throw new WriterException(e);
          }
      }
docs: Write an Excel document to a file
  
  @param file excel file
  @throws WriterException