adds support for file filter