<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def close(self):
 """ Called to clean all possible tmp files created during the process. """

        if self.read_option('save_pointer'):
            self._update_last_pointer()
        super(S3Writer, self).close()