Pre-generation of policy file.