createNew method
The option to create a new file, failing if it already exists - No file is allowed to exist at the target location. If set, .create() and .truncate() are ignored.
Implementation
void createNew(bool createNew) {
_willCreateNew = createNew;
}