def write_xlsx(data, file_name, worksheet_names=None):
    """
    Writes out to new excel format.

    Args:
        data: 2D list of tables/worksheets.
        file_name: Name of the output file.
        worksheet_names: A list of worksheet names (optional).
    """
    raise NotImplementedError('Xlsx writing not implemented')
