fixed the monitor data output file name, it wasn't general enough.