DataOutputStream () { if (myFileWriter == null) { try { final File file = getFile(); LOG.assertTrue(file != null); myFileWriter = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(file, true))); } catch (FileNotFoundException e) { LOG.info(e); return null; } } return myFileWriter; }