docs: @Deprecated
      public static String getDefaultFile(CmsObject cms, String folder) {
  
          if (folder.endsWith("/")) {
              try {
                  CmsResource defaultFile = cms.readDefaultFile(folder);
                  if (defaultFile != null) {
                      return cms.getSitePath(defaultFile);
                  }
              } catch (CmsException e) {
                  LOG.debug(e.getLocalizedMessage(), e);
              }
              return folder;
          }
          return null;
      }