code: public void csv(String file) throws IOException {
          CsvWriteOptions options = CsvWriteOptions.builder(file).build();
          new CsvWriter().write(table, options);
      }
docs: legacy methods left for backwards compatibility