BufferedWriter changes