String[] args = new String[argsList.size()];
args=argsList.toArray(args);
//Call the actual InChI generation.
StdInChI stdinchi = new StdInChI();
stdinchi.run(args);
// Read the generated InChi from the output file
FileInputStream fInstream = new FileInputStream(tmpOutFile);
DataInputStream in = new DataInputStream(fInstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));