Really basic?

Okay look below. right now when i send a message with my little program its told to save the data which it does but it just adds onto it.
(text looks like this "&news=hi&news=hi im doing good&news=hi im doing good nice)

is there anything i have to change to the server (i allowed the .txt to be written to so i dont get why the file content cant be deleted if it can be added too.)

 <?
$myfile = file("news.txt");
$fh = fopen("news.txt","a");
//unlink($myfile); i dont know what to do with this unlink thingy.
//use a+ to add to old text. i think
fputs($fh, stripslashes("&news=$news"));
fclose($myfile);
?>

thx.