protected function prepareFile($data = 'abcd', $extra = []) { $collection = $this->getGridFS(); return $collection->storeBytes($data, $extra); }