@staticmethod<EOL><INDENT>def _load_yaml_file(yaml_file):<DEDENT>
with io.open(yaml_file, '<STR_LIT:r>', encoding='<STR_LIT:utf-8>') as stream:<EOL><INDENT>yaml_content = yaml.load(stream)<EOL>FileUtils._check_format(yaml_file, yaml_content)<EOL>return yaml_content<EOL><DEDENT>
load yaml file and check file content format