Support `base_url` to handle local file url