Shouldn't you also track if the resource was changed/added/removed? I'd expect the action to be triggered in reaction to a file addition to be completely different from the one executed on file deletion.