Implemented tika-based extraction so that users can process html, pdf and txt files.