public function get(string $identifier, $folder, $remoteUrl, $returnUuid = false)
    {
        $strFilename = $identifier.'.jpg';

        if (Validator::isUuid($folder)) {
            $objFolder = $this->container->get('huh.utils.file')->getFolderFromUuid($folder);

            if (false === $objFolder) {
                return false;
            }
            $folder = $objFolder->value;
        }

        $objFile = new File(rtrim($folder, '/').'/'.$strFilename);

        if ($objFile->exists() && $objFile->size > 0) {
            return $returnUuid ? $objFile->getModel()->uuid : $objFile->path;
        }

        $strContent = $this->container->get('huh.utils.request.curl')->request($remoteUrl);

        if (!$strContent || !\is_string($strContent)) {
            return false;
        }

        $objFile->write($strContent);
        $objFile->close();

        return $returnUuid ? $objFile->getModel()->uuid : $objFile->path;
    }