Print error and exit if config file is not present.