Added a snippet to summarize txt files