P6 Design from Class

    main:
         open master file
	 for each file listed
	     process message in that file
	 close master file.
	
     process message - this will require the base file name as input
         open the file
	 if success
	     process the file
	 else  
	     print error
 
     process a file  - this will require
                                base file name
				open input file
         while not end of file
	     read in a line
	     output += process a line
	 output message