param filenam filenam read read filenam todo us platform charact encod specifi encod produc predict result file reader file reader filenam buffer reader fr buffer reader line builder content builder section line line fr read line line section section id sect id line section id section ari section id content content builder content append line line separ section id sect id line section id section fr close io except defin log lp log granular type statement log error error endif 