$file->dir()
Returns the full path for the directory, in which the file is located
Example:
echo $page->file()->dir();