docs: public static boolean matchesFileExtension(String expectedFileExtension,
                                                 String fileName) {
          // case insensitive match of the last x characters.
          return fileName.regionMatches(true,
                                        fileName.length() - expectedFileExtension.length(),
                                        expectedFileExtension,
                                        0,
                                        expectedFileExtension.length());
      }