1#!/usr/bin/env python3
 2
 3"""Code related to generic binary files."""
 4
 5class DataSource:
 6    """General description of the source of packet data."""
 7    def __init__(self, filename, product_id):
 8        # if a file, give the filename. sys.stdin if it comes from standard input
 9        self.filename = filename
10        self.product_id = product_id