Extract text from a file based on extension.
Path to the file.
File extension (including leading dot).
Optional
Optional map of additional extractors by extension.
Extracted text and optional structured data.
Extract text from a file based on extension.