if( null != writer ) writer.close();