[ 'coverFiles' => function () { return $this->files()->add( $this->children()->filterBy('intendedTemplate', 'map')->files() ); } ], 'fileMethods' => [ 'coverLabel' => function () { if ($this->parent()->intendedTemplate()->name() === 'map') { return 'Carte ' . $this->parent()->title(); } return $this->filename(); } ] ]);