import json
def read_json(file_path):
with open(file_path, 'r') as file:
return json.load(file)
import os
def get_file_extension(file_path):
_, file_extension = os.path.splitext(file_path)
return file_extension