Run a command when a file add/update event occurs