code: public CmsUgcSession createSessionForFile(
          CmsObject cms,
          HttpServletRequest request,
          String configPath,
          String fileName)
      throws CmsUgcException {
  
          CmsUgcSession session = createSession(cms, request, configPath);
          session.loadXmlContent(fileName);
  
          // when we open a session for existing files, we do not want them to get automatically deleted
          session.disableCleanup();
          return session;
      }
docs: Creates a new session for a given file.<p>
  
  @param cms the CMS context to use
  @param request the current request
  @param configPath the path of the form configuration
  @param fileName the file name (*not* path) of the XML content for which the session should be initialized
  
  @return the newly created session
  @throws CmsUgcException if something goes wrong