private void resetFile() throws IOException { deleteFile(); try { init(); } catch (final RrdException e) { throw createIOException(e); } }