handle fs open/closed state & path resolution + tests