<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(fname):
    " read the passed file "
    if exists(fname):
        return open(join(dirname(__file__), fname)).read()