code: function _getFileModel(modelItem) {
          if (!modelItem) {
              return null;
          }
          if (modelItem.type === "file") {
              return modelItem;
          }
          return modelItem.logicalParent ? modelItem.logicalParent : modelItem.parent;
      }
docs: * Internal model wrapper functions **