import json


def load_file_data(file):
    """
    Load exchange and pairs from file
    :param file: file path where source data is located
    :return dict: dictionatry containing the exchange info and pairs
    """
    with open(file) as f:
        data = json.load(f)
    return data["exchange"]