check if config file exists and is readable