Close config file after loading.