code: def read_from_file(filename):
      lines = open(filename).readlines()
      type_list = json.loads(lines[0])
      role_list = json.loads(lines[1])
      type_role_dict = json.loads(lines[2])
      return RecordSchema(type_list, role_list, type_role_dict)
  
file_path: DeepKE/src/deepke/name_entity_re/cross/extraction/record_schema.py
imports: import json
  from collections import defaultdict
  from typing import List
label_desc: Use image node_id 4 for calling the RecordSchema obj's underlying member method code with example usage: obj.read_from_file(filename) and returns: RecordSchema