@Override
    public void parse(InputStream stream, ContentHandler handler, Metadata metadata,
                      ParseContext context) throws IOException, SAXException, TikaException {

        TemporaryResources tmp =
                TikaInputStream.isTikaInputStream(stream) ? null : new TemporaryResources();

        TikaInputStream tis = TikaInputStream.get(stream, tmp, metadata);
        try {
            if (this.location == null) {
                this.location = tis.getFile().getParent() + File.separator;
            }
            this.studyFileName = tis.getFile().getName();

            File locationFile = new File(location);
            String[] investigationList = locationFile.list((dir, name) -> name.matches("i_.+\\.txt"));

            XHTMLContentHandler xhtml = new XHTMLContentHandler(handler, metadata);
            xhtml.startDocument();

            parseInvestigation(investigationList, xhtml, metadata, context);
            parseStudy(stream, xhtml, metadata, context);
            parseAssay(xhtml, metadata, context);

            xhtml.endDocument();
        } finally {
            if (tmp != null) {
                tmp.dispose();
            }
        }
    }
Constructor that accepts the pathname of ISArchive folder.

@param location pathname of ISArchive folder including ISA-Tab files
tika-parsers/tika-parsers-extended/tika-parser-scientific-module/src/main/java/org/apache/tika/parser/isatab/ISArchiveParser.java