code: def read_last_line(file_name):
      """read last line of a file and return None if file not found"""
      try:
          *_, last_line = open(file_name)
          return last_line.strip()
      except (FileNotFoundError, ValueError):
          return None
  
imports: import contextlib
  import collections
  import os
  import socket
  import sys
  import subprocess
  import requests
  import time
  import yaml
  import shlex
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: read_last_line(file_name) and returns: last_line, None