checks if config file exists