witto showed that you can use exist against both file and folder.
but didn't see such suggestion you are referring to.