Add support for file monitor filter and the corresponding unittests.