Data file restructuring