code: public void listImpl(String path,
                         Result<List<String>> result)
    {
      if (isOwner(path)) {
        listQueryImpl(path, result);
      }
      else {
        openReadFile(path, result.then((is,r)->readList(path, is, r)));
      }
  
      //_dirList.findAll(result.from(cursorIter->listResult(cursorIter, path)), 
      //                 calculateParentHash(path), path);
    }
docs: Asynchronously returns a list of files in the directory.