def METHOD_NAME(cls, file_path, file_type):
    json_data = {}
    if file_type == 'json':
        json_data = json_from_file(file_path, escape_chars=['$'])
    elif file_type == 'terraform':
        with open(file_path, 'r') as fp:
            json_data = hcl.load(fp)
    elif file_type == 'yaml' or file_type == 'yml':
        json_data = yaml_from_file(file_path)
    else:
        logger.error("Fileconversion error type:%s and file: %s", file_type, file_path)
    return json_data