reading an wirting rsc/idx  bundles