Add 'flushing' of data to files every so often; see flush_files_interval in config.ini