fixed file reads to start with packet 0