Took code from doc_display.cgi and created script to etxract TIFF images from awk files on samba.
Added logic to generate filename from doc_no