def text_of(relpath):
thisdir = os.path.dirname(__file__)<EOL>file_path = os.path.join(thisdir, os.path.normpath(relpath))<EOL>with open(file_path) as f:<EOL><INDENT>text = f.read()<EOL><DEDENT>return text<EOL>
Return string containing the contents of the file at *relpath* relative to
this file.