public static function getYamlContents(string $filename)
    {
        $result = null;
        if (file_exists($filename)) {
            $result = Yaml::parse(file_get_contents($filename));
        }
        return $result;
    }