def read(*parts):
here = os.path.abspath(os.path.dirname(__file__))<EOL>with codecs.open(os.path.join(here, *parts), "<STR_LIT:rb>", "<STR_LIT:utf-8>") as f:<EOL><INDENT>return f.read()<EOL><DEDENT>
Build an absolute path from *parts* and and return the contents of the
resulting file.  Assume UTF-8 encoding.