<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(filepath):
 """Convenience function for loading yaml-encoded data from disk."""

    with open(filepath) as f:
        txt = f.read()
    return yaml.load(txt)