Shuffled some code around to create C.L.I.ByteString
Pass index argument to ByteString traversals.