split DumpExtractor#run into several smaller methods