def METHOD_NAME(self, job, file, queryset, progress):
    # add BOM to support utf-8 CSVs in MS Excel (for Windows only)
    if job.export_charset == "utf-8":
        file.write(b"\xef\xbb\xbf")
    field_header_mapping = OrderedDict(
        {
            "user_email": _("User Email"),
            "user_id": _("User ID"),
            "workspace_name": _("Group Name"),  # GroupDeprecation
            "workspace_id": _("Group ID"),
            "type": _("Action Type"),
            "description": _("Description"),
            "action_timestamp": _("Timestamp"),
            "ip_address": _("IP Address"),
        }
    )
    writer = csv.writer(
        file,
        field_header_mapping.values(),
        encoding=job.export_charset,
        delimiter=job.csv_column_separator,
    )
    if job.csv_first_row_header:
        writer.writerow(field_header_mapping.values())
    fields = field_header_mapping.keys()
    paginator = Paginator(queryset.all(), 2000)
    export_progress = ChildProgressBuilder.build(
        progress.create_child_builder(represents_progress=progress.total),
        paginator.num_pages,
    )
    for page in paginator.page_range:
        rows = [
            [getattr(row, field) for field in fields]
            for row in paginator.page(page).object_list
        ]
        writer.writerows(rows)
        export_progress.increment()