reading settings from a yaml file