@Override
  public byte @NotNull [] contentsToByteArray(@NotNull VirtualFile file) throws IOException {
    var nioFile = convertToNioFileAndCheck(file, true);
    return readIfNotTooLarge(nioFile);
  }
@Override
  public byte @NotNull [] contentsToByteArray(@NotNull VirtualFile file)