public function readBinary($file)
    {
        if (!($fd = fopen($file, "rb"))) {
            throw new IOException("Could not open file {$file}!");
        }

        $this->readBinaryStream($fd);
        fclose($fd);
    }