Execute a command when a file is changed