def METHOD_NAME(filename):
    for line in open(filename):
        line = line.strip().split("\t")
        if len(line) < 2:
            continue
        query = line[1]
        yield {"query": query}