public boolean hasExtension(final String fileName) {
        return fileName != null
               && (fileName.endsWith(getDotExtension())
                   || getExtensionAliases().stream().anyMatch(ext -> fileName.endsWith("." + ext)));
    }
@return True if fileName ends with this extension (or one of the aliases).
stroom-data/stroom-data-zip/src/main/java/stroom/data/zip/StroomZipFileType.java