private function parseConfigFile($file)
    {
        Assertion::file($file, 'Can\'t parse config file. File does not exist: ' . $file);

        $config = Yaml::parse(file_get_contents($file));

        if (is_null($config)) {
            $config = array();
        }

        return $config;
    }