def get_pcap_file_path(basename, path=None):
    """Return a full path to a PCAP file based on basename."""
    path = path or get_pcap_path()
    return os.path.join(path, f"{basename}.pcap")
Return a full path to a PCAP file based on basename.
app/flowsynth.py