Overwriting Text Files?

I've got a program that writes text files ... cool. Up until now, I've been tagging the text file names with a time stamp so they don't overwrite each other between program runs. Now I'd like to (under certain criteria) actually overwrite some of these files.I know that I can overwrite the files simply by giving them the same name...(see implementation notes) ...but do I need to be concerned about the old file? ...like causing fragments or whatever?... I have a hard time imagineing that the code that writes (or in this case overwrites) the files will handle that.

Implementation notes: I basically, use a BufferedWriter chained to a FileWriter ... then I close it when Im finished.

BufferedWriter bw = new BufferedWriter(new FileWriter(myFileName));

bw.write("stuff");

bw.newLine();

bw.flush();

...

bw.close();

[869 byte] By [Curtis_Pastorea] at [2007-11-26 14:52:41]
# 1
> ...but do I need to be concerned about the old file?No.> ...like causing fragments or whatever?Yes, it probably will. No way around it.
CeciNEstPasUnProgrammeura at 2007-7-8 8:40:55 > top of Java-index,Java Essentials,Java Programming...
# 2
> but do I need to be concerned about the old file? ...like causing fragments or whatever?The files system of the OS you are using will worry about it.
camickra at 2007-7-8 8:40:55 > top of Java-index,Java Essentials,Java Programming...
# 3
RAD! ... Love those problems that kinda fix themselves ... thanks!
Curtis_Pastorea at 2007-7-8 8:40:55 > top of Java-index,Java Essentials,Java Programming...