@Override
    public MediaType streamingDetectUpdate(ZipArchiveEntry zae, InputStream zis,
                                           StreamingDetectContext detectContext) {
        String name = zae.getName();
        TmpPatterns tmp = detectContext.get(TmpPatterns.class);
        if (tmp == null) {
            tmp = new TmpPatterns();
            detectContext.set(TmpPatterns.class, tmp);
        }

        tmp.patterns.removeIf(pattern -> pattern.matcher(name).matches());
        if (tmp.patterns.isEmpty()) {
            // We've found everything we need to find
            return IPA;
        }
        return null;
    }
To be considered as an IPA file, it needs to match all of these
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-zip-commons/src/main/java/org/apache/tika/detect/zip/IPADetector.java