docs: public static <T> T withWriter(File file, @ClosureParams(value = SimpleType.class, options = "java.io.BufferedWriter") Closure<T> closure) throws IOException {
          return IOGroovyMethods.withWriter(newWriter(file), closure);
      }