public function process(ContainerBuilder $container)
    {
        if (!$container->has('ezpublish.core.io.migration.file_lister_registry')) {
            return;
        }

        $fileListersTagged = $container->findTaggedServiceIds('ezpublish.core.io.migration.file_lister');

        $fileListers = [];
        foreach ($fileListersTagged as $id => $tags) {
            foreach ($tags as $attributes) {
                $fileListers[$attributes['identifier']] = new Reference($id);
            }
        }

        $fileListerRegistryDef = $container->findDefinition('ezpublish.core.io.migration.file_lister_registry');
        $fileListerRegistryDef->setArguments([$fileListers]);
    }