Used to store the protobuffer messages into files, so that they can be plotted as part of the dissertation