splitted dump files into meta and data. also fixed a bug.