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();
    }