generalize getAssetFileUrl() to more abstract getAssetUrl()