code: def load_author_paperlist(infile):
      r"""
      Returns:
        A dictionary of authorID to her paper_list
           {AuthorID, [PaperID01, PaperID02, ...]}
      """
      print("loading {0}...".format(os.path.basename(infile)))
      author2paper_list = {}
      with open(infile, "r", newline="\r\n", encoding="utf-8") as rd:
          while True:
              line = rd.readline()
              if not line:
                  break
              words = line.strip("\r\n").split("\t")
              if words[1] not in author2paper_list:
                  author2paper_list[words[1]] = []
              author2paper_list[words[1]].append(words[0])
      return author2paper_list
  
imports: from datetime import datetime
  import codecs
  import os
label_desc: Use image node_id 3 for calling a global function with example usage: load_author_paperlist(infile) and returns: author2paper_list