private static String ensureLocation(String url) {
		if (url.startsWith("file:")) {
			if (!isApplet()) {
				url = ModelerUtilities.convertURLToFilePath(url);
				String s = ConnectionManager.sharedInstance().getRemoteLocationString(url);
				if (s != null)
					return s;
			}
		}
		return url;
	}