import yaml


def load(file: str = "lang/en_US.yaml") -> dict:
    """Loads the language file and returns it"""
    global lang
    with open(file, encoding="utf-8") as f:
        lang = yaml.safe_load(f)
    return lang