question: static String writeConfiguration ( Configuration cfg , String pathFromIgniteHome ) throws IOException { if ( ! pathFromIgniteHome . startsWith ( "/" ) ) pathFromIgniteHome = "/" + pathFromIgniteHome ; final String path = U . getIgniteHome ( ) + pathFromIgniteHome ; delete ( path ) ; File file = new File ( path ) ; try ( FileOutputStream fos = new FileOutputStream ( file ) ) { cfg . writeXml ( fos ) ; } assertTrue ( file . exists ( ) ) ; return path ; }
target:  Writes down the configuration to local disk and returns its path.