IPath path = new Path(href);
InputStream is;
if (path.isAbsolute()) {
// absolute path, just opens it
is = new FileInputStream(path.toOSString());
} else {
// relative path, a file that is relative to the
// "folder" path in this bundle.
path = folder.append(path);
is = FileLocator.openStream(bundle, path, false);