def run(self): logging.debug("Extracting files...") Utils.remove_dir_content(self._cfg['dir_out']) while Utils.compute_file_number(self._cfg['dir_in']) > 1: self._walk_dir(self._cfg['dir_in'], self._cfg['dir_out']) Utils.remove_dir_content(self._cfg['dir_in'])