code: protected CmsProject getTempfileProject(CmsObject cms) throws CmsException {
  
          try {
              return cms.readProject(I_CmsProjectDriver.TEMP_FILE_PROJECT_NAME);
          } catch (CmsException e) {
              return cms.createTempfileProject();
          }
      }
docs: Gets a tempfile project, creating one if it doesn't exist already.<p>
  
  @param cms the CMS context to use
  @return the tempfile project
  
  @throws CmsException if something goes wrong