code: public static List<FileStatus> listMostNestedPathRecursively(FileSystem fs, Path path)
        throws IOException {
      return listMostNestedPathRecursively(fs, path, NO_OP_PATH_FILTER);
    }
docs: Method to list out all files, or directory if no file exists, under a specified path.