<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def file_size(self):
 """ Return size of the file. """

        stream = self.get_file_stream()
        stream.seek(0, os.SEEK_END)
        return stream.tell()