import json


def _read_profile(path_to_profile_json):
    """Read json CPU load profile file.

    param path_to_profile_json: path to CPU load profile json file
    type: str
    returns: deserialized CPU load profile sequence

    """

    with open(path_to_profile_json, "r") as json_file:
        sequence = json.load(json_file)

    return sequence