$files->get($filename)

Returns a single file by filename

  • return ($file)

Example

<?= $page->files()->get('myfile.pdf')->url() ?>