read settings from yaml file