code: public static Sink sink(File file) throws FileNotFoundException {
      if (file == null) throw new IllegalArgumentException("file == null");
      return sink(new FileOutputStream(file));
    }
docs: Returns a sink that writes to {@code file}.