Yeah that’ll be the issue websites are not websites if they are on file:// totally different scurity context.
file://