Bugfix to correct file watching

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