def load_directory(self, dir_path):
self._log.info('<STR_LIT>' + dir_path)<EOL>aml_files = []<EOL>for root, dirs, files in os.walk(dir_path):<EOL><INDENT>aml_files += ['<STR_LIT>'.format(root=root, file=file)<EOL>for file in sorted(files) if file.endswith('<STR_LIT>')]<EOL><DEDENT>for file in aml_files:<EOL><INDENT>self.load_file(file)<EOL><DEDENT>
Load all AgentML files contained in a specified directory
:param dir_path: Path to the directory
:type  dir_path: str