Bugfix to correct file watching

f and fileFilter are strings, so "in" doesn't work for comparison