Saved datas to a seperate file