filename
Retrieves the name of a file located in path.
Return
the name of the file located in path
Parameters
path
path of the file (with extension)
extension
- Optional
- Likely named
whether to include the file extension in the name
Throws
if the file does not exist
Permissions
project-read
to access files located in the project directory
global-read
to access files located outside the project directory