The question: How can one automatically / periodically examine a folder of forms and generate a list of all the objects used, and in which forms they are used?
Why:
Consider a form that reads objects from a repository and by combining those objects produces a form letter. Example: a form letter reminding someone they are 90 days late with a payment. The paragraphs used in the letter are selected based on the state of the residence, whether this is the first time this has occurred or not, the company the loan is owed to, the amount of the loan, etc. There are many named textobjects that can be chosen in the repository, and stringing them together (textobject1 + textobject64 + ... etc.) produces the letter.
We do it this way because an object in the repository may be used in multiple forms, and editing the object in the repository will update all the forms that use it.
This creates the need for a list of every form where an object might be used, and while this is possible to generate manually, this process is tedious and creates an iincreasing probability of human error as the number of forms rises.