Assuming a Chromium-based browser such as Google Chrome:
Click on this icon on the top-right area of the browser:
Then this at the bottom:
Find Yomichan and click this button:
Enable this option:
By default, extensions cannot access files loaded directly from your computer. This process gives an extension local file access.
(If anyone has this issue on Firefox, I can look into how to enable it on there.)