Check file tracking prior to add/change events

Resolves gh-180