Creates a file at the given path relative to this file or a specified root directory.
The starting file or the root directory (optional).
The created file.
The path of the file to create.