code: def read_text(txt_file):
      """
      read the split file to a list
      """
      assert os.path.isfile(txt_file)
      items = []
      with open(txt_file, "r") as fid:
          while True:
              line = fid.readline()
              if not line:
                  break
              items.append(line.strip())
      return items
  
imports: import os
  import joblib
  import numpy
  import torch
  from tqdm import tqdm
  import PIL
  import scipy
  from data_io import colmap_helper
  from geometry import pcd_projector
  from cameras import captures, contents
  from scenes import scene
  from utils import utils, ray_utils
  from models.smpl import SMPL
label_desc: Use image node_id 2 for calling a global function with example usage: read_text(txt_file) and returns: items