import json


def get_stadiums(infile):
    """
    Reads a dict of stadium data from a filename.
    Args:
        infile: Filename where stadium map data is stored (string).
    Returns:
        Dict of stadium names (strings) to stadium map data records (dicts).
    """
    stadium_dict = {}
    with open(infile, "r") as file:
        stadiums = json.load(file)
        for stadium in stadiums:
            stadium_dict[stadium["stadium"]] = stadium
    return stadium_dict