code: protected List<CmsResource> getSingleFile(CmsObject cms, String param) throws CmsException {
  
          if ((param == null) || (cms == null)) {
              throw new CmsIllegalArgumentException(Messages.get().container(Messages.ERR_COLLECTOR_PARAM_SINGLE_FILE_0));
          }
  
          // create a list and return it
          List<CmsResource> result = new ArrayList<CmsResource>(1);
          if (cms.getRequestContext().getCurrentProject().isOnlineProject()) {
              result.add(cms.readFile(param));
          } else {
              // ignore release and expiration date in offline projects to be able to preview file
              result.add(cms.readFile(param, CmsResourceFilter.IGNORE_EXPIRATION));
          }
          return result;
      }
docs: Returns a List containing the resources pointed to by the parameter.<p>
  
  @param cms the current CmsObject
  @param param the name of the file to load
  
  @return a List containing the resources pointed to by the parameter
  
  @throws CmsException if something goes wrong