Is there a case where the scheme is `file` but the default is not local? That is, if `file` always implies local then we can combine these two cases.