use yaml as config file