"Written in readheader and loadbits functions, haven't tested yet"