Adding support for filtering filenames