So how do you store this pointer to the previous snapshot?
Include the name of the parent snapshot in the “message” file you write for each snapshot.