public void refreshFile() {
    Runnable postRunnable = () -> setValue(file);
    RefreshQueue.getInstance().refresh(true, false, postRunnable, ModalityState.current(), file);
  }
public void refreshFile()