Update for TextEdit OS 10.3

I am trying to update this code to use for TextEdit. RetrieveFile is just a text file exported from FileMaker Pro.

Old code is for Scriptable Text Editor:

	
tell application "Scriptable Text Editor"
		set text item delimiters to {tab}
		open file (RetrieveFile)
		set thelist to text items of document 1 as list
		set text item delimiters of AppleScript to {""}
		quit saving no
	end tell

Thanks for your help.
Sean

Basically I need to change a delimited text file that has “tab” as it’s unique
identifier and I need to change that into a {“”} throughout the file. How would I do this? I saw a post on June 20th that is similar, but I can’t get it to work.

I have this so far:

set AppleScript's text item delimiters to {tab} 
	set thelist to read file RetrieveFile
set thelist to text items of thelist as list
	set AppleScript's text item delimiters to {""}

Maybe I’m missing something else. Thanks.

set thelist to (read alias "path:to:file.txt" using delimiter tab)