if (currentWriter != null) try { currentWriter.close ();
if (writer != null) try { writer.close ();
    void closeFiles () {	if (currentWriter != null) try {	    currentWriter.close ();	} catch (Exception ignore) {}    }