Now with try catch. Doing this for blob writing code seems to make it
not work. Need to fix. 
tmemory.p blob file. Important.