Add File based filter tests,
Modify Mysql filter for performance