Multithreaded version of extractor.