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.

