input and decoded packets are same/ not writing to file correctly