pdf and txt indexer