Add counting for file packets