public function write(ModelInformationInterface $information, array $config = [])
    {
        $this->information = $information;
        $this->config      = $config;

        $this->content = [];
        $this->path    = $this->getInformationTargetPath();
        $keys          = $this->getKeysToWrite();

        $this->checkWhetherFileAlreadyExists();

        foreach ($keys as $key) {
            $this->writeKey($key);
        }

        $this->writeContentToFile();

        return $this->path;
    }