public function save($media, $flush = true)
    {
        if ($media->getFile() !== null) {
            if ($this->saveFile($media) === false) {
                return false;
            }
        }

        if ($media->getFocusIsEdited() === true) {
            $this->reset($media, true);
            $media->setFocusIsEdited(false);
        }

        $media->setUpdatedAt(new \Datetime());

        parent::save($media, $flush);

        return true;
    }