def METHOD_NAME(NAME):
    FILES = [f for f in os.listdir(TRAINING_FILES_DIR) if f.startswith(NAME + '_')]
    DICT = {}
    for F in FILES:
        F = get_file_folder_dir(F)
        with open(F) as f:
            temp_dict = json.loads(f.read())
            DICT.update(temp_dict)
        os.remove(F)
    with open(get_file_folder_dir(NAME), 'w') as f:
        f.write(json.dumps(DICT))