private Translator translator;
private boolean active = true;
protected AbstractFileReader() {
EventManager.getListeners().add(new EventListener() {
@Override
public void onEvent(Event event) {
if (event.getCode() == Event.EVENT_LOADING_CANCELLED) {
active = false;
} else if (event.getCode() == Event.EVENT_START_DOCUMENT_LOADING) {