Ironing out bugs
Fixed resume of data writing
Resume actually tested on small data