parse line number and size as unsigned long and unsigned int resp
extract event parser into its own file