How does the SandBox file system work

Hi I have a FX30 and I was using the file system service. I’m not quite sure where is this sandboxed file system? So each app has a sand box is there a way to view a apps sandboxed files from the command line? Is there a way for an app to do “ls” and see what directory its in during runtime from inside of the app?

I tried reading the legato docs but it says they are under create/store/readfiles but I’m not sure where that is. Thanks

EDIT: sorry I just found out there is a PATH API my bad

The files are under /legato/systems/current/appsWriteable/ and theres a path api from within applications.