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