Recursively process all text files in a folder with enhanced error handling and visualization.
Click on a file in the directory tree to preview its contents.