Added additional parameter to FileOutput flushInterval. This enables the use of and AND statement to flush data to disk if two requirements (time and number of messages) occurred.