import json


def load_index_properties(index_properties_file_path):
    """
    Load properties file into script for joining with index creation request
    """
    index_properties_dict = {}
    try:
        with open(index_properties_file_path, 'r') as fp:
            index_properties_dict = json.load(fp)
        return index_properties_dict
    except IOError:
        print('properties file not found')
        return None