Raise exception if config file is not given