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

        $array = $this->parseConfigFile($file);
        $array = $this->doReplacements($array);

        return new Config($array);
    }