public Reader parse(Path path, Metadata metadata) throws IOException {
        InputStream stream = TikaInputStream.get(path, metadata);
        return parse(stream, metadata);
    }
Parses the file at the given path and returns the extracted text content.
<p>
Metadata information extracted from the document is returned in
the supplied metadata instance.

@param path     the path of the file to be parsed
@param metadata where document's metadata will be populated
@return extracted text content
@throws IOException if the file can not be read or parsed
tika-core/src/main/java/org/apache/tika/Tika.java