static public void close(final Closeable stream){
  if (stream != null) {
    try {
      stream.close();
    }
 catch (    IOException e) {
      Log.e("SavingHelper","Problem closing",e);
    }
  }
}

static public void close ( final Closeable stream ) { if ( stream != null ) { try { stream . close ( ) ; } catch ( IOException e ) { Log . e ( "SavingHelper" , "Problem closing" , e ) ; } } }
convenience function - closes the given stream ( can be any closable ) , catching and logging exceptions
