Read configuration from yml file