import json


def read_superdupercell(mc_settings_file):
    """Function to read mu / temperature values as well as superdupercell from a monte carlo settings.json file.
    Args:
        mc_settings_file(str): Path to mc_settings.json file.
    Returns:
        superdupercell(list): Matrix (list of 3 lists) that describes a supercell for the monte carlo simulation
    """
    with open(mc_settings_file) as f:
        settings = json.load(f)
    superdupercell = settings["supercell"]
    return superdupercell