code: def read_bytes(path: Path) -> tuple[bytes, int]:
      with path.open("rb") as f:
          data = f.read()
          size = f.tell()
      return data, size
  
file_path: distributed/distributed/shuffle/tests/test_disk_buffer.py
imports: from __future__ import annotations
  import asyncio
  import os
  from pathlib import Path
  from typing import Any
  import pytest
  from distributed.shuffle._disk import DiskShardsBuffer
  from distributed.shuffle._limiter import ResourceLimiter
  from distributed.utils_test import gen_test
label_desc: Use image node_id 1 for calling a global function with example usage: read_bytes(path) and returns: data,  size