increased buffer size to 2k bytes, created macro BUFFER_SIZE to manage buffer size to hold packet data, enabled temporary offline file read instead of reading online streaming data