Added option to use a whitelist file, including persisting any changes to it