create
Creates a new file or directory at the specified location.
Parameters
parent
The parent directory where the file or directory will be created.
name
The name of the file or directory to be created. Reserved names on Windows platforms are not allowed.
type
The type of file system entity to create, either a file or a directory, represented by the FileType enum.
Throws
If the name is invalid or an error occurs during creation.