code: public String getRootPathFolder() {
  
          String result;
          if (isFile()) {
              result = getRootPathParentFolder();
          } else {
              result = getRootPath();
          }
          return result;
      }
docs: Returns the folder name of this resource from the root site.<p>
  
  In case this resource already is a {@link CmsFolder}, the folder path is returned without modification.
  In case it is a {@link CmsFile}, the parent folder name of the file is returned.<p>
  
  @return  the folder name of this resource from the root site