def read_file_from_uri(self, uri):
logger.debug("<STR_LIT>" % (uri))<EOL>self.__check_looks_like_uri(uri)<EOL>try:<EOL><INDENT>req = urllib.request.Request(uri)<EOL>req.add_header('<STR_LIT>', '<STR_LIT>' % self.token)<EOL>r = urllib.request.urlopen(req)<EOL><DEDENT>except urllib.error.HTTPError as err:<EOL><INDENT>if err.code == <NUM_LIT>:<EOL><INDENT>raise GithubFileNotFound('<STR_LIT>' % uri)<EOL><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>return r.read().decode("<STR_LIT:utf-8>")<EOL>
Reads the file from Github

        :param uri: URI of the Github raw File

        :returns: UTF-8 text with the content