Fix in FileFilter
Small refactor