code: def tail(filename, number_of_bytes):
      
      with open(filename, "rb") as f:
          if os.stat(filename).st_size > number_of_bytes:
              f.seek(-number_of_bytes, 2)
          return f.read()
docs: Returns the last number_of_bytes of filename