<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, *args):
 """ Like ROOT's Close but reverts to the gDirectory before this file was opened. """

        super(_DirectoryBase, self).Close(*args)
        return self.cd_previous()