code: def display_results(results, detailed=False):
      if not detailed:
          print('FILENAME......................................... STATUS..........')
      for entry in results:
          try:
              if detailed:
                  print("\n{}".format(entry["filename"]))
                  print(create_detailed_results(entry))
              else:
                  print("{:<50}{}".format(entry["filename"], entry["status"]))
          except Exception as e:
              logger_validator_api.debug("display_results: Exception: {}".format(e))
              print("Error: display_results: {}".format(e))
      return