A parser for a binary input file.