Saving data and loading data from a .txt file

Hi,
I know there’s a way to do it but i just couldn’t get the right tutorial around…
I have read through Shared Objects but i couldn’t get it work…

I just have to save my data, maybe array into .txt file and later on
retrieve from the same .txt file…

Anyone here have an example or some source code so i can have reference on it?

Thanks for the help provided…

Regards,
Lacus