If you try to do something that SharePoint is capable of, exactly in the way that it expects to be told to do it, it works like a mediocre website builder.
If you even remotely struggle against that straightjacket, your sanity will be mercilessly executed by errors, insane behavior, impossible configurations and generally frustrating bullshit.
Thankfully someone made a plugin for chrome that just makes local file links work again because otherwise managing this would be literally impossible