You can do:

filemach = file_open_append ("file.txt");
file_str_write (filemach,my_text.string[_nr]);
file_close (filemach);

Ok!