LoadVariables from .txt where the .txt file is called as a variable

I want to load different .txt files into my flash movie, based on the url.

ex: http://mysite.com?txtfile=textfile1

flash would use: loadVariables(“textfile1.txt”);

Hope this explains it… Please help.