set the defaultFolder to the documents folder -- the documents folder is a "specialFolderPath" put the files into docfiles filter docfiles with "*.txt" put docfiles