docs: public static String getNewResourceName(CmsObject cms, String fileName, String folder) {
  
          String newResname = CmsResource.getName(fileName.replace('\\', '/'));
          newResname = cms.getRequestContext().getFileTranslator().translateResource(newResname);
          newResname = folder + newResname;
          return newResname;
      }