Added additional parameter to FileOutput flushInterval.

This enables the use of an AND statement to flush data to disk if two requirements (time and number of messages) occurred.