$file->diruri()

Returns the relative path for the file

Example:

echo $page->file()->diruri();

Result:

1-projects/2-project-b/forrest.jpg