public function findFileById($id) { return $this->filesCollection->findOne(['_id' => $id], ['typeMap' => ['root' => 'stdClass']]); }