Return a file specified by its path.

Syntax string) File string) null


selector string

A path and any filters. Selectors that may match multiple files, like the child selector, are invalid. See Selectors for more details.


Basic example.

Returns null if there is no match.

It is invalid to use selectors that may match multiple files.