def Reader(self):
    f = open(self.filepath)
    line = f.readline()
    count = 0
    while line:
        if (count == self.num):
            break
        (yield self.Process(line))
        line = f.readline()
        count += 1
    f.close()
def Reader(self):
    f = open(self.filepath)
    line = f.readline()
    count = 0
    while line:
        if (count == self.num):
            break
        (yield self.Process(line))
        line = f.readline()
        count += 1
    f.close()