code: @Override
      public void writeTo(Path path, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
              throws IOException, WebApplicationException {
          try (InputStream in = Files.newInputStream(path)) {
              ReaderWriter.writeTo(in, entityStream);
          }
      }
docs: {@inheritDoc}