def METHOD_NAME(self, crts_path, filter_path):
    filter_set = set()
    with open(filter_path, 'r', encoding='utf-8') as f:
        csv_reader = csv.reader(f, delimiter=',')
        # Skip header
        next(csv_reader)
        for row in csv_reader:
            filter_set.add(row[1])
    status('Parsing certificates from %s' % crts_path)
    crt_str = []
    with open(crts_path, 'r', encoding='utf-8') as f:
        crt_str = f.read()
        # Split all certs into a list of (name, certificate string) tuples
        pem_crts = re.findall(r'(^.+?)\n(=+\n[\s\S]+?END CERTIFICATE-----\n)', crt_str, re.MULTILINE)
        filtered_crts = ''
        for name, crt in pem_crts:
            if name in filter_set:
                filtered_crts += crt
    self.add_from_pem(filtered_crts)