def METHOD_NAME(file_like, grid, z_at_node, fields):
    """Write output to specified file_like"""
    _write_vtk_header(file_like)
    _write_vtk_points(grid, file_like, z_at_node)
    _write_vtk_patches(grid, file_like)
    _write_vtk_cell_types(grid, file_like)
    _write_vtk_point_data(grid, file_like, fields)