<?php
// loop through the collection using the `toStructure()` method
foreach($page->documentfiles()->toStructure() as $document):
// check if the file exists
if($documentfile = $document->documentfile()->toFile()):
?>
<a href="<?= $documentfile->url() ?>">Download File</a>
<?php endif ?>
<?php endforeach ?>
?>