Rewrite of reading file bytes.
Minor changes in client code. Printing more stuff, one assertion.