Graham
NoNDeSCRiPT You can use xt:include in the template of a xt:filelist provided that it is inside a xtscript
you can use the filter to load only files with a .txt extension
<!--parser:xtscript-->
var $list = <xt:filelist sort_type="name" sort_dir="asc" folder="/text" template="<xt:include file="/text/.file_name." />;<hr />" per_page="" filter="*.txt" />
print $list
<!--/parser:xtscript-->
Copy code http://banana.madpath.com/textin