try {
final Definition def = vwType.getDefinition();
if (def != null) {
final DiskCollection_Type dct = def.getDiskCollection();
if (dct != null) {
final BoundDisk_Type bdt = dct.getRootVBD();
if (bdt != null) {
final URI uri = bdt.getLocation();
if (uri != null) {
String path = uri.getPath();
StringTokenizer st = new StringTokenizer(path, "/");
String last = "";
while (st.hasMoreTokens()) {