// delete graphUnorderedPath since it is not necessary anymore
fs.delete(graphUnorderedPath);
FSDataInputStream in = fs.open(new Path(graphOrderedPath,"part-00000"));
ArcListASCIIGraphExt graphAscii = ArcListASCIIGraphExt.loadOnce(in);
graphAscii.setNumNodes(numNodes);
LOG.info("Text graph loaded to memory");
ImmutableGraph.store(BVGraph.class, graphAscii, /*(new Path(outputPath,*/GRAPH_BV_FILE/*)).toString()*/); // TODO BUG store in local system. Webgraph does not support to store to an outputstream in API
LOG.info("Text graph stored compressed in file "+GRAPH_BV_FILE);
graphAscii=null;