Get file name

is there an actionscript command for get file name? I need to be able to call the file name and have it output to a dynamic textbox.