code: def echo_results_file(results_file, no_color, verbose=False):
      
      try:
          data = collect_results(results_file)
      except ValueError:
          echo_style(
              'The results file is not the proper json format.',
              no_color,
              fg='red'
          )
          sys.exit(1)
      except Exception as error:
          echo_style(
              'Unable to process results file: %s' % error,
              no_color,
              fg='red'
          )
          sys.exit(1)
  
      echo_results(data, no_color, verbose)
docs: Print test results in nagios style format.