Support optional `FilenameFilter` in `DirReader`

Allows reading e.g. only XML files from the given directory.

Supports any other pattern by matching filename against regex.