How to use the Dialog ?(編號:1491)

I used the Dialog to open TXT files,but i can not get the
Dialog.FileTitle.
It open two or three TXT file.