Sorry

I set a file monitor up and it calls the routine on file change.