Unmarshaller unmarshaller = factory.createUnmarshaller(configuration);
for (File timerFile : file.listFiles()) {
FileInputStream in = null;
try {
in = new FileInputStream(timerFile);
unmarshaller.start(new InputStreamByteInput(in));
final TimerEntity entity = unmarshaller.readObject(TimerEntity.class);
timers.put(entity.getId(), entity);
unmarshaller.finish();
} catch (Exception e) {
ROOT_LOGGER.failToRestoreTimersFromFile(timerFile, e);