Forgot to close BufferedWriter