I've fixed it to cope with symbolic links; directories or removals are still not handled.