Yes, the user would run the program.
The program opens the file and runs the check.
I can see another way to do this with Reactions; but, again the user would have to launch the check code manually - or the reaction could be set up to fire when something is changed.
If you want to check if...