test.log for file open mode test
Add BaseHTMLProcessor. Study locals and globals function and try_except_else, try_finally et, al