Upgrade configuration to read from YAML file when present