protected function loadModular($path)
    {
        $config = array();

        // Loop over files in $path (recursing into sub-directories)
        foreach ($this->filesIn($path) as $file) {
            // Determine the relative path of the current file by
            // stripping $path from the beginning of the absolute path
            $nestPath = $this->getNestPath($file->getPathname(), $path);

            $content = $this->configLoader->load($file->getPathname());
            $config = $this->merge($config, $this->nest($content, $nestPath));
        }

        return $config;
    }