protected function savePresets(array $presets, $logMessage)
    {
        $this->driverComposite->setFileContent(
            $this->settings['repositoryUrl'],
            $this->settings['filePath'],
            json_encode($presets, JSON_PRETTY_PRINT),
            '[SURFCAPTAIN] ' . $logMessage
        );
        $this->presets = null;
    }