code: @Override
      public Iterator<String> getSpaceContents(String spaceId, String prefix) {
          ConnectOperation co =
              new ConnectOperation(host, port, username, password, zone);
  
          String path;
          if (prefix != null && !prefix.equals("")) {
              path = baseDirectory + "/" + spaceId + "/" + prefix;
          } else {
              path = baseDirectory + "/" + spaceId;
          }
  
          log.trace("listing space contents for " + path);
          try {
              return listRecursiveFiles(path, co.getConnection());
          } catch (IOException e) {
              log.error("Could not connect to iRODS", e);
              throw new StorageException(e);
          }
      }
docs: Prefix is assumed to be part of the collection name.
  This also has an issue where items in /irods/home/account/dir1 will br
  returned if /irods/home/account/dir is asked for (ie, spaceId=dir)
  
  @param spaceId
  @param prefix
  @return