Added read_data_from_groups, write_data_by_chunks