There are several mistakes in this code.
1. You initialize the object and then assign a new object to the same variable. The previously object is removed.
2. File.OpenOutput opens an output stream. Output streams are used to write data to a file.
Correct code:
Dim b() As Byte = Bit.InputStreamToBytes(File.OpenInput(path, fileName))