extractor to return hash of extracted files. fix some tests.