@Override
    public boolean accept(File pathname) {
      String name = pathname.getName();
      return name.endsWith(extensionWithDot);
    }
Even thought this is only used in a test, caller of MemberMXBean.processCommand(String, Map,
Byte[][]) will need to use this method to convert a fileList to Byte[][] to call that
deprecated API.

Once that deprecated API is removed, we can delete this method and the tests.
geode-core/src/main/java/org/apache/geode/management/internal/util/ManagementUtils.java