First delete the old message.txt:
unlink("message.txt");
rename("file.txt","message.txt");
Double or single quote is the same, just use the same startquote as endquote...
"will work"
'will also work'
"will NOT work'
(Last one has different start and end quotes)
//Nicke