Simplify code a bit by passing StreamFile to the BitstreamCursor constructor.