human
Write me a the Python program you requested given the following:
Complete the below
def create_example_data_helper(example_filename):

    ''''A function to generate example data helpers.'
    '''
assistant
#Here is the Python program you requested.
    directory = os.path.dirname(__file__)
    directory = os.path.join(directory, 'json')
    example = os.path.join(directory, example_filename)
    def data_helper():
        with open(example) as fd:
            data = json.load(fd)
        return data
    return data_helper