Add option to getUsersSharingFile() to get the paths for the shared users

Currently there is no way to get the path for the shared users.

@schiesbn @PVince81 @DeepDiver1975