Saving "Terms & Conditions" as a file after purchasing

I installed and addon called “terms_and_conditions_popup” and changed “Terms & Conditons”. Now Terms & Conditons windows has some dynamic content. When the customer clicks over the Terms & Conditons" link at the payment section, a windows appears and they see their orders detail in the page.(It's required because of a new law in my country.)

The dynamic content isn't in language variable. It's in “terms_and_conditions.override.tpl” (…skins\basic\customer\addons\terms_and_conditions_popup\hooks\checkout)

I want to save “Terms & Conditons” in a directory as a file after customer purchases. Or it may be sent via email as a file like PDF or TXT.

How can I do this? I really need your help.