data saved to file made organised