<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_yaml_file(file_path: str):
 """Load a YAML file from path"""

    with codecs.open(file_path, 'r') as f:
        return yaml.safe_load(f)