Added getUrlFromPath() method