[ResourceWatcher] updated FileStateChecker to match FileResource API
[ResourceWatcher] updated FileStateChecker to match FileResource API

flint/Lurker,stof/Lurker,henrikbjorn/Lurker,ju1ius/Lurker,romainneutron/Lurker