modify harvester to harvest one file at a time. ready to be merged