Reference: Compare Two Project Files -
This is an excellent script. Can you please post code for the function FieldChanged.