code: def load_paper_reference(infile):
      r"""
      Returns:
         A dictionary of paperid to its list of reference_paper_IDs:
             {PaperID, [Reference_Paper_ID01, eference_Paper_ID02, ...]}
      """
      print("loading {0}...".format(os.path.basename(infile)))
      paper2reference_list = {}
      with open(infile, "r") as rd:
          while True:
              line = rd.readline()
              if not line:
                  break
              words = line.strip().split("\t")
              if len(words) < 2:
                  continue
              if words[0] not in paper2reference_list:
                  paper2reference_list[words[0]] = []
              paper2reference_list[words[0]].append(words[1])
      return paper2reference_list
  
imports: from datetime import datetime
  import codecs
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: load_paper_reference(infile) and returns: paper2reference_list