def METHOD_NAME(self, file_info):
    fh = None
    try:
        fh = open(file_info.file_name, 'rU', encoding='utf8')
        self.code = fh.read()
    except:
        pass
    if fh is not None:
        fh.close()