{
in = new BufferedInputStream(new FileInputStream(spillFile)) ;
}
catch ( FileNotFoundException ex )
{
throw new AtlasException(ex) ;
}
Iterator<E> deserializer = serializationFactory.createDeserializer(in) ;
IteratorResourceClosing<E> irc = new IteratorResourceClosing<E>(deserializer, in) ;
registerCloseableIterator(irc);
toReturn = irc;