outputStream.write("disablewallet=0\n".getBytes());
outputStream.write("testnet=0\n".getBytes());
outputStream.write("prune=1000\n".getBytes());
outputStream.write("upnp=0\n".getBytes());
outputStream.write("onlynet=ipv4\n".getBytes());
<BUG>outputStream.write(String.format("datadir=%s\n", Utils.getLargestFilesDir(c)).getBytes());
</BUG>
IOUtils.closeQuietly(outputStream);
} catch (final IOException e) {
e.printStackTrace();

outputStream.write("disablewallet=0\n".getBytes());
outputStream.write("testnet=0\n".getBytes());
outputStream.write("prune=1000\n".getBytes());
outputStream.write("upnp=0\n".getBytes());
outputStream.write("onlynet=ipv4\n".getBytes());
outputStream.write(String.format("datadir=%s\n", String.format("%s/.bitcoin", Utils.getLargestFilesDir(c).getAbsolutePath())).getBytes());
IOUtils.closeQuietly(outputStream);
} catch (final IOException e) {
e.printStackTrace();
