implement diskimage handler