Implemented binary file reader