FileNameFilter is missing basic functionality
TYPO3\CMS\Core\Resource\Filter\FileNameFilter cannot be used to filter files by name. It can only be used to show or hide hidden files. In the current implementation it should be called HiddenFileFilter.
It should be similar to FileExtensionFilter with a function filterFileList that can be called and applies the set name rescrictions.
It should have a getter and setter to give it a filename which must then be matched once filterFileList is called.