updated for producing body file without comments