check for config file