Some java stuff for dealing with MPO files, taken from http://www.randelshofer.ch/multishow/index.html