Hi guys I need a little help in viewing all .txt files in a folder in a thumbnail view and allowing the user to open it in the default txt editor

Any help would be appreciated

Thank you