started on implementing new file format in c++