Add trigger that checks for changes in a FileState.