'Read through all tool config files and initialize tools in each
with init_tools_from_config below.'

def _init_tools_from_configs(self, config_filenames):

    execution_timer = ExecutionTimer()
    self._tool_tag_manager.reset_tags()
    config_filenames = listify(config_filenames)
    for config_filename in config_filenames:
        if os.path.isdir(config_filename):
            directory_contents = sorted(os.listdir(config_filename))
            directory_config_files = [config_file for config_file in directory_contents if config_file.endswith('.xml')]
            config_filenames.remove(config_filename)
            config_filenames.extend(directory_config_files)
    for config_filename in config_filenames:
        try:
            self._init_tools_from_config(config_filename)
        except ParseError:
            time.sleep(1)
            try:
                self._init_tools_from_config(config_filename)
            except Exception:
                raise
        except Exception:
            log.exception('Error    loading    tools    defined    in    config    %s', config_filename)
    log.debug('Reading    tools    from    config    files    finshed    %s', execution_timer)
