attempt at implementing save resume of entire data using bson files. This is a work in progress and may not make it into 3.0 release