restore config file