@Contract("null -> null")
  private static VirtualFile ensureNotInjectedFile(VirtualFile file) {
    return file instanceof VirtualFileWindow ? ((VirtualFileWindow)file).getDelegate() : file;
  }
@Contract("null -> null")
  private static VirtualFile ensureNotInjectedFile(VirtualFile file)