Preparing and importing 3D image files