Testing saving messages to files insead of caching in memory, to avoid heap space crashes.