If I understood correctly, you're trying to stop Spotify from showing your local files?
You should be able to hide that section by going to Preferences (menu dots - Edit), scrolling down to Local Files and turn off (turn gray) the slider for "Show Local Files".
If it's not working, try clean reinstall - see this article on how to do that!
Let me know how it goes! 🙂
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.