<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read(self, file, *, fs):
 """ Write a row on the next line of given file. Prefix is used for newlines. """

        for line in file:
            yield line.rstrip(self.eol)