Move output to curdir/processed_logs; add tha/thb to log filename.