It's the simplest I could think of, but it has one problem:
-> what if " (deleted)" is a real part of the path?
- I can try to stat() the path with "(deleted)" and cut it only if it
doesn't exist, but is it worth it? who would have "(deleted)" as part of