Read the yaml file.
str
pathlib.PosixPath
Yaml file path.
dict
File content.
IOError
Cannot open the file.
read_yaml_file()