Saving whitelist to config file