import json


def load_json_file(file_path):
    """Return the contents of a json file in the file path."""
    if not file_path:
        return {}
    try:
        with open(file_path, "r", encoding="uts-8") as read_file:
            data = json.load(read_file)
            return data
    except FileNotFoundError as error_obj:
        print(f"ERROR: JSON argument file '{file_path}' was not found.")
        raise error_obj