Defaults: { flags: 'r', encoding: null, fd: null, mode: 0666, autoClose: true }
Fields
optionalautoClose:Null<Bool>
If autoClose is false, then the file descriptor won't be closed, even if there's an error. It is your responsiblity to close it and make sure there's no file descriptor leak.
If autoClose is set to true (default behavior), on error or end the file descriptor will be closed automatically.