/**
  * Check if parent folder does not include 'S' permission and if file/folder is shared with me
  *
  * @param file: OCFile
  * @return boolean: True if it is shared with me and false if it is not
  */
 private boolean checkIfFileIsSharedWithMe(OCFile file) {
   return (mFile.getPermissions() != null
       && !mFile.getPermissions().contains(PERMISSION_SHARED_WITH_ME)
       && file.getPermissions() != null
       && file.getPermissions().contains(PERMISSION_SHARED_WITH_ME));
 }