read method
void
read()
Reads the config file and parses it into a Map.
Implementation
void read() {
final data = file.readAsStringSync();
YamlMap yamlMap = loadYaml(data);
// hacky way to go from yaml map to normal map
parsed = jsonDecode(jsonEncode(yamlMap));
}