@ApiStatus.Internal
  public static long getFileLength(@NotNull VirtualFile virtualFile) {
    return ReadAction.compute(() -> virtualFile.isValid() ? virtualFile.getLength() : -1L);
  }
@ApiStatus.Internal
  public static long getFileLength(@NotNull VirtualFile virtualFile)