added reader for config file