private function getConfigFileContent(string $configPath) : array
    {
        // if empty just skip it
        if (!filesize($configPath)) {
            return [];
        }

        // read the file handler
        $config = file_get_contents($configPath);

        // check for linebreaks
        if (strpos($config, "\n") === false) {
            $config = [
                $config
            ];
        } else {
            $config = (array) explode("\n", $config);
        }

        return $config;
    }