Filename of A Stream
     open/[3,4]:    1st argument
     QP_stream:     char *filename
     

The filename of a stream is recorded in the stream structure. If a stream does not have a filename, (e.g. a data communication channel), the filename field should be an empty string. After a stream is created, the Prolog system accesses this field only to get the corresponding filename of a stream.