code: def _build_filter_list(self, filters):
          
          i = 0
          for (filter_type, values) in filters.items():
              if isinstance(values[0], str):
                  for line in values[0].split('\n'):
                      line = line.strip()
                      yield "{filter_name} {filter_type} {filter_value}".format(
                          filter_name="filter" + str(i),
                          filter_type=filter_type,
                          filter_value='"{}" {}'.format(line, " ".join([str(v) for v in values[1:]]))).strip()
                      i += 1
              else:
                  yield "{filter_name} {filter_type} {filter_value}".format(
                      filter_name="filter" + str(i),
                      filter_type=filter_type,
                      filter_value=" ".join([str(v) for v in values]))
                  i += 1
docs: :returns: Iterator building a list of filter