IVResource parent = this.workspace;
for (int i = me.matchingFirstSegments(a); i < segments.length; i++) {
int segsToEnd = segments.length - i - 1;
String s = a.removeLastSegments(segsToEnd).toOSString();
IStorage f = this.userDirectory.newInstance(s);
parent = new VFile(f, parent, segments[i]);
}
if(parent==this.workspace)
parent = new VFile(this.userDirectory, this.workspace);
return parent;
}