Add monitor plugin. Add file writer for monitor records.