docs: public static JavaRDD<String> listPaths(JavaSparkContext sc, String path, boolean recursive, Set<String> allowedExtensions) throws IOException {
          return listPaths(sc, path, recursive, allowedExtensions, sc.hadoopConfiguration());
      }