code: public static JavaRDD<String> listPaths(JavaSparkContext sc, String path) throws IOException {
          return listPaths(sc, path, false);
      }
docs: List of the files in the given directory (path), as a {@code JavaRDD<String>}
  
  @param sc      Spark context
  @param path    Path to list files in
  @return        Paths in the directory
  @throws IOException If error occurs getting directory contents