change file:// to asset:// URLs