protected function filename(AttachmentDataInterface $attachment, $variant = '')
    {
        if ($variant) {
            return $attachment->variantFilename($variant);
        }

        return $attachment->originalFilename();
    }