Add code to read binary files