def __init__(self, totalsize, iterator, chunk_size, output):
    self.totalsize = totalsize
    self.output = output
    self.chunk_size = chunk_size
    self.aprox_chunks = ((self.totalsize * 1.0) / chunk_size)
    self.groups = iterator
def __init__(self, totalsize, iterator, chunk_size, output):
    self.totalsize = totalsize
    self.output = output
    self.chunk_size = chunk_size
    self.aprox_chunks = ((self.totalsize * 1.0) / chunk_size)
    self.groups = iterator