code: def file_rows(self, fo):
          
  
          rows = []
          for i in range(NUMROWS):
              line = fo.readline()
              if not line:
                  break
              rows += [line]
  
          return rows
docs: Return the lines in the file as a list.
  
          fo is the open file object.