How to read bytes from a audio wav binary file?

I’m using Corona SDK Version 3.0.0, Build 2-16.2906, simulator in Windows10.
I need to read a wav audio file, byte by byte
I´ve tried opening the file in “rb” mode:
     Local file, errorString = io.open (PathAndFileName, “rb”)
     byte = file:read ()
     Print (“byte =” … string.format ("%x", byte))
Error: bad argument # 2 to ‘format’ (number expected, got string)
How to solve the problem?