public static function addUniqIdToFilename($strFileName, $strPrefix = null, $blnMoreEntropy = true)
    {
        $objFile = new \File($strFileName, true);

        $strDirectory = ltrim(str_replace(TL_ROOT, '', $objFile->dirname), '/');

        return ($strDirectory ? $strDirectory . '/' : '') . $objFile->filename . uniqid($strPrefix, $blnMoreEntropy) . ($objFile->extension ? '.'
                                                                                                                                              . $objFile->extension : '');
    }