Logic ammendment to harvest_groups_from_file method