def METHOD_NAME(resultFile, qryResult, fieldToBeRemoved):
    log = {}
    log['totalCount'] = len(qryResult)
    print 'Removing field name '+fieldToBeRemoved
    log['Updated project fields '+fieldToBeRemoved] = []
    for entity in qryResult:
        del entity[''+fieldToBeRemoved+'']
        if not DRY_RUN:
            db.save(entity)
            print 'Removing field name '+fieldToBeRemoved+' done for '+entity.get('_id')
        updatedDocId = {}
        updatedDocId['id'] = entity.get('_id')
        log['Updated project fields '+fieldToBeRemoved].append(updatedDocId)
    json.dump(log, resultFile, indent = 4, sort_keys = True)