thanks to you i just noticed in manual if the file does not exist, it is created with file_open_write

thanks, problem is solved laugh