public function saveConfiguration($filename, Config $config) {
        $this->workingPath = $this->parseFilepath($filename);

        $cacheManager = new CacheManager();
        $cacheManager->saveToCache('/' . $filename, $config->toDetailsArray());
    }