code: def print_long(filename, stat, print_func):
      
      size = stat_size(stat)
      mtime = stat_mtime(stat)
      file_mtime = time.localtime(mtime)
      curr_time = time.time()
      if mtime > (curr_time + SIX_MONTHS) or mtime < (curr_time - SIX_MONTHS):
          print_func('%6d %s %2d %04d  %s' % (size, MONTH[file_mtime[1]],
                                              file_mtime[2], file_mtime[0],
                                              decorated_filename(filename, stat)))
      else:
          print_func('%6d %s %2d %02d:%02d %s' % (size, MONTH[file_mtime[1]],
                                                  file_mtime[2], file_mtime[3], file_mtime[4],
                                                  decorated_filename(filename, stat)))
docs: Prints detailed information about the file passed in.