adding 'generateKeyFile' config to allow overrides of key file generation