Copy the 2 lines to your code before calling the function:

API(file_str_writeto,acknex)
var file_str_writeto(var,char*,var);