initial plumbing are reading format headers and preparing to decoding