<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_file(filename):
 """Read the contents of a file located relative to setup.py"""

    with open(join(abspath(dirname(__file__)), filename)) as file:
        return file.read()