but the internal path shouldn't be always empty. As far as I understand it $file can be a path within the mountpoint, if we always return an empty string the path will always be the root of the mount point no matter where $file points to.

Also the failing tests indicate the the path doesn't get constructed correctly this way.