Code:

data_handle = file_open_write("playerName.txt"); // open (or create and open) this file



Better use file_open_append