This is the best solution IMO especially when you are dealing with connecting local files not necessarily inside the Obsidian vault.