Yes that was great for me,
i have only one question how to clear all content of the text file before insert the string.
i wan it to be empty.

Thanks.