static public function getUploadFileRelativePath($filename)
    {
        if ($filename) {
            $filename = str_replace('\\', '/', $filename);
            
            $filename = str_replace(static::getUploadUrl(), '', $filename);
            
            $filename = trim(str_replace(static::getUploadPath(), '', $filename), '/');
            
            if (strpos($filename, 'http') === 0) {
                $filename = str_replace(static::getRootUrl(), '', $filename);
            }
        }
        
        return $filename;
    }