import json


def get(last_state_file_location):
    """
    Get the last_state.json file and return a dict
    """

    last_state_json = None
    last_state_dict = {}

    with open(last_state_file_location, 'r') as a_file:
        last_state_json=a_file.read()

        last_state_dict = json.loads(last_state_json)

        a_file.close()

    return last_state_dict