Saving

Im making a text editor and its going all well for now.
but i want to save and when i press open be able to see all my saved work is that possible?
i seached and found this code but i cant find any change:on (release){
_root.server.data.words = worder.words;
_root.server.data.fileName = fileNamer;
_root.fileName = fileNamer;
}