code: def get_secrets_not_in_baseline(results, baseline):
      
      exclude_files_regex = None
      if baseline.exclude_files:
          exclude_files_regex = re.compile(baseline.exclude_files, re.IGNORECASE)
  
      new_secrets = SecretsCollection()
      for filename in results.data:
          if exclude_files_regex and exclude_files_regex.search(filename):
              continue
  
          if filename not in baseline.data:
              # We don't have a previous record of this file, so obviously
              # everything is new.
              new_secrets.data[filename] = results.data[filename]
              continue
  
          # The __hash__ method of PotentialSecret makes this work
          filtered_results = {
              secret: secret
              for secret in results.data[filename]
              if secret not in baseline.data[filename]
          }
  
          if filtered_results:
              new_secrets.data[filename] = filtered_results
  
      return new_secrets
docs: :type results: SecretsCollection
      :param results: SecretsCollection of current results
  
      :type baseline: SecretsCollection
      :param baseline: SecretsCollection of baseline results.
                       This will be updated accordingly (by reference)
  
      :rtype: SecretsCollection
      :returns: SecretsCollection of new results (filtering out baseline)