Added options for writing an output file from watchers