code: public static OutputWriter getWriter(final String filename, final List<InputColumn<?>> columns) {
          final InputColumn<?>[] columnArray = columns.toArray(new InputColumn<?>[columns.size()]);
          final String[] headers = new String[columnArray.length];
          for (int i = 0; i < headers.length; i++) {
              headers[i] = columnArray[i].getName();
          }
          return getWriter(filename, headers, ',', '"', '\\', true, columnArray);
      }
docs: Creates a CSV output writer with default configuration
  
  @param filename
  @param columns
  @return