@Override
  public boolean isFileDownloaded(final @NotNull VirtualFile file) {
    return file instanceof HttpVirtualFile && ((HttpVirtualFile)file).getFileInfo().getState() == RemoteFileState.DOWNLOADED;
  }
@Override
  public boolean isFileDownloaded(final @NotNull VirtualFile file)