BUG: fix two critical errors causing issues while importing

* do not loop over file names, as they are not all images
* initialize scalar type for the multivolume to reduce unnecessary memory use