import pickle


def load_goal_set(goal_file_path):
    """ 
    Utility method to load the user goals
    
    # Arguments:
    
        - goal_file_path: the path to the user goals file
    """

    # Read all goals
    all_goal_set = pickle.load(open(goal_file_path, 'rb'))

    # Initialize and create the list of all goals
    goal_set = []
    for u_goal in all_goal_set:
        goal_set.append(u_goal)

    return goal_set