FlameDuck #1 You forgot to close the file ... and you should be able to use FileType.But why not just traverse the directory and include all files ending in .txt?