Create a file from the received packets