def refresh(self):
<EOL>oldfiles = [self.files.qdump] +self.database.__dict__.values() +self.trees.__dict__.values()<EOL>for oldfile in oldfiles:<EOL><INDENT>if oldfile:<EOL><INDENT>if os.path.exists(oldfile):<EOL><INDENT>os.remove(oldfile)<EOL><DEDENT><DEDENT><DEDENT>oldcluster = copy.deepcopy(self._ipcluster)<EOL>self.__init__(<EOL>name=self.name, <EOL>data=self.files.data, <EOL>mapfile=self.files.mapfile,<EOL>workdir=self.dirs,<EOL>method=self.params.method,<EOL>guidetreefile=self.files.guidetreefile,<EOL>resolve=self._resolve, <EOL>nboots=self.params.nboots, <EOL>nquartets=self.params.nquartets, <EOL>initarr=True, <EOL>quiet=True,<EOL>cli=self.kwargs.get("<STR_LIT>")<EOL>)<EOL>self._ipcluster = oldcluster<EOL>
Remove all existing results files and reinit the h5 arrays 
so that the tetrad object is just like fresh from a CLI start.