public function createFileLoader($type, ContainerBuilder $container, $path)
    {
        $className = $this->getClassNameByShortType($type);

        return new $className($container, new FileLocator($path));
    }