code: private String getRfsName(File file, String vfsName) {
  
          CmsStaticExportManager manager = OpenCms.getStaticExportManager();
          String filePath = file.getAbsolutePath();
          String result = CmsFileUtil.normalizePath(
              manager.getRfsPrefix(vfsName)
                  + filePath.substring(OpenCms.getStaticExportManager().getExportPath(vfsName).length()));
          return CmsStringUtil.substitute(result, new String(new char[] {File.separatorChar}), "/");
      }
docs: Returns the export file name starting from the OpenCms webapp folder.<p>
  
  @param file the file to delete
  @param vfsName the VFS name of the file, the root path!
  
  @return the export file name starting from the OpenCms webapp folder