<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_text(handle, split=False, encoding="utf-8"):
 """Load and decode a string."""

    string = handle.read().decode(encoding)
    return string.splitlines() if split else string