revised tableextractor download task to reduce ds reads; refactoring