optimization - skip file watcher events for consecutive events for the
same file