code: public static Writer writer(File file) {
          try {
              return new FileWriter(file);
          } catch (IOException e) {
              throw E.ioException(e);
          }
      }
docs: Returns a file writer
  
  @param file
  the file to be written
  @return a writer