We don't need different acceptFile() implementations per platform so it is better to have one static method.
Ticket #2445 (Move FileLister classes from LIB to CLI).