Get an array of DataObject IDs


$fileIDs = array_keys($this->owner->Files()->map()->toArray());