Import raw mdat from file in submit.

This is a hack for testing. Doesn't work.