NewFileFactory creates a new monitor factory that writes events to the location specified.
The location can be one of three things:
1. a file descriptor/handle in the form "fd://2"
2. a file name
3. a named pipe in the form "\\.\pipe\my-pipe"
type Options struct {
DumpState string `usage:"Dump the internal execution state to a file"`
DebugMessages bool `usage:"Enable logging of chat completion calls"`
}