protected static function saveExternalFile($url, $path)
    {
        if ($data = file_get_contents($url)) {
            return (self::saveFile($path, $data)) ? $data : '';
        }

        return '';
    }