Fixed off-by-one bug in initMetadata; tweaked initFile to return if the given id is in the array returned by getUsedFiles(currentId). 
Fixed off-by-one bug in initMetadata; tweaked initFile to return if the given
id is in the array returned by getUsedFiles(currentId). 


scifio/scifio