code: def tail_file(fileName, line_count, path="samples"):
      assert line_count > 0
      lines = get_file_lines(os.path.join(path, fileName))
      return lines[line_count * -1 :]
  
imports: import csv
  import os
  import shutil
  import subprocess
  import tempfile
  import unittest
  import matplotlib
  from six.moves import xrange
  from pyalgotrade import dataseries
label_desc: Use image node_id 8 for calling a global function with example usage: tail_file(fileName, line_count, path) and returns: lines