Returns the previous sibling
if($prev = $page->file('myfile.pdf')->prev()) { echo 'Previous file: ' . $prev->filename(); }