>> - reading a file one line at a time (self.__fp.readline()) >I don't see an alternative to this, except to read the whole file at >once, which I am trying to avoid, as the files are large. possibly using readlines(size), with an appropriate size, will help here. Bill