$file->name()
Returns the name of the file without extension
Example
echo $page->file('my-image.jpg')->name(); // my-image