Open and save data