set ChoiceList to paragraphs of (read (choose file))
set MyChoice to (choose from list ChoiceList default items item 2 of ChoiceList) as string
--Your variable
display dialog MyChoice
set ChoiceList to paragraphs of (read file (Macintosh HD:Users:username:Desktop:choiceList.txt))
set MyChoice to (choose from list ChoiceList default items item 2 of ChoiceList) as string
--Your variable
display dialog MyChoice