I'm given a string. It will either be a local path to a file that exists or a fully qualified remote https url ending in a file component.
If it is a local path I want to use
A local file path string will always start with
/ assuming it is a full path (which it should be).
A remote https URL will start with
Simply check which prefix the string has.