I appreciate your response
ok I got you on the file type part

But i can you please let me know how to read a binary file
atleast byte by byte
ill try to figure out a way of assigning specific bits to specific variables

I need a way of reading the 30th bit to another value b
and 31st bit value to c

a sample code that illustrates such functionality would be of great help
thanks