def _readYaml(self, filePath):
    import yaml
    ans = None
    with open(filePath, 'r') as stream:
        try:
            ans = yaml.safe_load(stream)
        except yaml.YAMLError as exc:
            print(exc)
    return ans
def _readYaml(self, filePath):
    import yaml
    ans = None
    with open(filePath, 'r') as stream:
        try:
            ans = yaml.safe_load(stream)
        except yaml.YAMLError as exc:
            print(exc)
    return ans