def close(self):
if not self.closed:<EOL><INDENT>self.closed = True<EOL>retval = self.f.close()<EOL>if self.base_mode != "<STR_LIT:r>":<EOL><INDENT>self.__size = self.fs.get_path_info(self.name)["<STR_LIT:size>"]<EOL><DEDENT>return retval<EOL><DEDENT>
Close the file.