code: def get_cidr_name(cidr, ip_ranges_files, ip_ranges_name_key):
      
      for filename in ip_ranges_files:
          ip_ranges = read_ip_ranges(filename, local_file=True)
          for ip_range in ip_ranges:
              ip_prefix = netaddr.IPNetwork(ip_range['ip_prefix'])
              cidr = netaddr.IPNetwork(cidr)
              if cidr in ip_prefix:
                  return ip_range[ip_ranges_name_key].strip()
      for ip_range in aws_ip_ranges:
          ip_prefix = netaddr.IPNetwork(ip_range['ip_prefix'])
          cidr = netaddr.IPNetwork(cidr)
          if cidr in ip_prefix:
              return 'Unknown CIDR in %s %s' % (ip_range['service'], ip_range['region'])
      return 'Unknown CIDR'
docs: Read display name for CIDRs from ip-ranges files
      :param cidr:
      :param ip_ranges_files:
      :param ip_ranges_name_key:
      :return: