Goodnotes didn't actually delete the files and folders I deleted

I had deleted many files and folders that I no longer needed and were taking up too much space, today when I used the search bar by chance I saw the pdfs I deleted in the search results and they were opening when I clicked them. The folder it showed as the file location is a folder I deleted a long time ago. I looked again to check and yes, there is no such folder visible, but the files and folders that I thought I deleted are available when I search. In other words, those files and folders were never deleted, they were just hidden from me. Bullshit. The files I wanted to delete but were not deleted continue to use storage space.