Fix incorrect root folder being used when app is closed within file hierarchy.
Fix incorrect root folder being used when app is closed within file hierarchy.

BenTobias/arc,BenTobias/arc,BenTobias/arc,BenTobias/arc,BenTobias/arc,BenTobias/arc