This plugin will automatically reveal the active file in the navigation when you open a file.
This plugin can be installed in the Third-party plugin tab in Obsidian settings.
Third-party plugin
After installation you will have to enable it.