File configFile = new File(uninstalledConfigDir, file);
IndexMetadata props = new IndexMetadata();
InputStream is = null;
try {
is = new FileInputStream(configFile);
props.load(is);
//validate Index-Name and Server-Name properties!
if(!indexName.equals(props.getIndexName())){
throw new IOException("The IndexName '"+props.getIndexName()+
"within the IndexConfig file does not correspond to the file name '"+
file+"'!");