public function createStreamFromFile(string $filename, string $mode = 'r'): StreamInterface
  {
    # Open the file
    $resource = \fopen($filename, $mode);

    return \GuzzleHttp\Psr7\stream_for($resource);
  }