If no filename, include the packet number in the generic name. TODO: Implement the ct2ext() function.