CSV file to RTF table

I am trying to create a script that takes an incoming CSV file, separates the lines and then pulls out certain items of the line and then assembles the information into an address format. The result currently is a text file for each line and the files are formatted into standard mailing addresses. I want to take these addresses and put them into an RTF table that is two columns wide to print onto labels.

I have been able to accomplish everying except putting the formatted text into the RTF table.

The following is the script I use to create a text file. How would I change this to send the text stored in the variable “the_text” to a cell inside a table of an RTF document?

	set the target_file to the target_file as text
	set the open_target_file to open for access file target_file with write permission
	set eof of the open_target_file to 0
	write the_text to the open_target_file starting at eof
	close access the open_target_file
on error
		close access file target_file
	end try
end try

Any help is greatly appreciated. Even pointing me in the right direction would be helpful.

Model: iMac 1.83 GHz Intel Core Duo
AppleScript: 1.10.8
Browser: Safari 521.29
Operating System: Mac OS X (10.5)