void (boolean isLengthIncreased) { try { long pagesAmount = getPagesAmount(); Page lastPage = getPage_wait(pagesAmount - 1); for (FileChangeListener listener : myFileChangeListeners) { listener.onFileChanged(lastPage, isLengthIncreased); } } catch (IOException e) { logger.warn(e); } }