First cut at allowing auto-generation of trigger files.