Package modtimechecker provides a way to check if the modification time of a file have changed since the last check and calls a function when its true