$files->get($filename)

Returns a single file by filename

  • return ($file)

Example

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