code: def sents(self, filename=None):
          
          filename = filename if filename else self.test_file
          with io.open(filename, 'r') as fin:
              for line in fin:
                  yield line.strip()
docs: Returns the file, line by line. Use test_file if no filename specified.