def load_toml(path):
    """
    Load a file in TOML format.

    :param Path path: Path to the TOML file.

    :return: A dictionary with the parsed content.
    :rtype: dict
    """
    from toml import loads
    return loads(path.read_text(encoding='utf-8'))
