public function loadFile($file)
    {
        if ($this->enableSpyc()) {
            if (! file_exists($file)) return [];

            // parse environment
            $content = file_get_contents($file);
            $content = $this->parseEnvironmentVariables($content);

            return $this->loadBySpyc($content);
        } else {
            throw new NotFoundException('Not found YAML parser.');
        }
    }