code: protected function getDownloadLink($strFile)
      {
          if (!isset($_SESSION['metaModels_downloads'][$strFile])) {
              $_SESSION['metaModels_downloads'][$strFile] = md5(uniqid());
          }
  
          return UrlBuilder::fromUrl(Environment::get('request'))
              ->setQueryParameter('file', urlencode($strFile))
              ->setQueryParameter('fileKey', $_SESSION['metaModels_downloads'][$strFile])
              ->getUrl();
      }
docs: Generate an URL for downloading the given file.
  
  @param string $strFile The file that shall be downloaded.
  
  @return string
  
  @SuppressWarnings(PHPMD.Superglobals)
  @SuppressWarnings(PHPMD.CamelCaseVariableName)