This function will shorten / relativize the path, if it is relative to topLevel. Otherwise, the full path will be returned.