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 return contents of the
resulting file. Assumes UTF-8 encoding.