switch to bufferedwriter