I seem to have fixed that error. I was using the variable ifile throughout the class instead of creating a variable in the class such as self.incoming = ifile to use. Funny how little things like that can be so frustrating. Chalk it up to experience I guess. Carl