implement packethold_remove function and implemented that part
of the decode function
finished file based decode version, need to now write more generic version