public function matchSerializerByExtension($fileName)
    {
        /** @var \Thelia\Core\Serializer\AbstractSerializer $serializer */
        foreach ($this->serializerManager->getSerializers() as $serializer) {
            if (stripos($fileName, '.' . $serializer->getExtension()) !== false) {
                return $serializer;
            }
        }

        return null;
    }