read in yaml files sync