Hi Wolf,
I having a same task. I followed your blog. Its a good one. But it seem you are only attaching those file who are either .PDF or .TIF
In my case I having .TXT file. Therefore structure attribute cont_hex is not populating.
Please Advice.
Thanks,
Rajan