Generate file with multiple packets