The problem here, as I understand it, is "Feedback".
The goal is to make the user understand what is hapenning et what will change.
For this, I would recommand to try out some micro-interactions that'll help the user to understand what's hapening. (You don't want him to feel lost)
This can be for example :
- Adding a layer of information (like the place of the file in the folder somewhere on the screen or "adding" a window like Google Analytics does)
- Adding a layer of animation (like a "Switch", as you can find on Tinder for example)
But more importantly, you should test it. Since this is some tweaking really precise on the UX/UI, you should check multiple solutions and try to find the most appropriate one.
I've encountered something similar with one of my projects where we tested A LOT. Of course it was in a VR environment so we had the opportunity to add visual AND audio feedback to be sure that users understand what's hapenning. In your case, you should play with visual feedback as much as you can!
Hope this will help,