Trouble with File erasure.

File file =new File(filename);

file.createNewFile();

in =new BufferedReader(new FileReader(file));

out =new BufferedWriter(new FileWriter(file));

When I call this code, the existing contents of the file in question are completely erased. Can I avoid this in some sensible way? Thanks.

[483 byte] By [Morgan_Aa] at [2007-10-1 11:38:13]
# 1
out = new BufferedWriter(new FileWriter(file, true));Michael Bishop
mbishop78a at 2007-7-10 13:15:51 > top of Java-index,Other Topics,Java Game Development...