class DataSetLoaderProvider implements LoaderProvider<Document> {

    @Override
    public DataSetLoader<Document> jsonLoader() {
        return (final File path) -> Document.parse(new String(Files.readAllBytes(path.toPath()), StandardCharsets.UTF_8));
    }

}