Reformatting file