Notice that in spite of this the last character of the returned string
can still be the path separator if this directory is the root one.
Notice that in spite of this the last character of the returned string
can still be the path separator if this directory is the root one.