while (f.available()>0) {
// if crashed, then unproper closing might cause endless blocking!
// therefore, we check if avaible first.
count++;
SystemLogImage systemLogImage = new SystemLogImage();
systemLogImage.readData(new DataInputStream(f));
ret.addElement(systemLogImage);
if (count % 10 == 0) {
LOGGER.logInfo(".");
}