testing file watcher with threads