Is IndexFileNameFilter supposed to be a singleton (looks like it)?
If so, shouldn't its constructor be private?
Also, since it has a static getFilter() method, its singleton should also be
I checked and there are no references to either the singleton or the
constructor outside this class, so the change should not cause any issues.