remoteDirExists and remoteFileExists utility functions implemented
implemented getGroupId() static function in UserC