def METHOD_NAME(jobs, id):
  with open('/b/alltaxis.%02d.csv' % id, 'w') as f:
    csvHeaders = list(set(normalize.values()))
    if id == 0:
      f.write(','.join(csvHeaders) + '\n')
    bytes = 0
    totBytes = 0
    buffer = []
    for doc in loadDocs(jobs, id, csvHeaders):
      buffer.append(doc)
      bytes += len(doc)+1
      if bytes > 256*1024:
        f.write('%d %d\n' % (bytes, len(buffer)))
        f.write('\n'.join(buffer))
        f.write('\n')
        del buffer[:]
        totBytes += bytes
        bytes = 0
    if bytes > 0:
      f.write('%d %d\n' % (bytes, len(buffer)))
      f.write('\n'.join(buffer))
      f.write('\n')