import json


def read_proxy_config(file_name):
    """convert proxy file from json file to python data structure

    Parameters
    --------------
    file_name : str
        location of proxies json list file

    Returns
    -------------
    object
        datastructure representation of json file
    """
    with open(file_name) as data_file:
        data = json.load(data_file)
    return data