code: public String readFileContent(String filename) throws CmsException {
  
          filename = CmsLinkManager.getAbsoluteUri(
              filename,
              CmsResource.getFolderPath(m_cms.getRequestContext().getUri()));
          CmsFile file = m_cms.readFile(filename, CmsResourceFilter.IGNORE_EXPIRATION);
          return new String(file.getContents());
      }
docs: Returns the selected files contentsls as a String.<p>
  
  @param filename the file to read the contents from
  @throws CmsException if something goes wrong
  @return the selected files contents