$file->page()

Returns the page object for a file

Example

echo 'Document of: ' . file->page()->title();