<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def read(path):
 """ Reads a file located at the given path. """

    data = None
    with open(path, 'r') as f:
        data = f.read()
    f.close()
    return data