1<% 2try: 3 file_content = open(path, encoding='utf-8', errors='ignore') 4except: 5 raise "Should never execute here" 6doc_content = ''.join(file_content.readlines()) 7file_content.close() 8%> 9 10${bytes(doc_content, encoding='utf-8')} 11