public function read(Config $config)
    {
        $options = parse_ini_file($this->filename);

        if (false === $options) {
            throw new \InvalidArgumentException("Cannot parse configuration file '{$this->filename}'");
        }

        foreach ($options as $name => $value) {
            $config->set($name, $value);
        }
    }