This second check is redundant. (Reference URLs should return `YES` for `isFileURL`.)