int count = 0;
String line = reader.readLine();
while (line != null) { // NOPMD
count++;
final int identifier = Integer.parseInt(line);
Item removed = itemList.removeItem(identifier);
if( removed==null){
logger.error("not found "+identifier);
}
if (count % BATCH_SIZE == BATCH_SIZE - 1) {
session.close(EnumFilePersistenceCloseAction.SAVE);