Use ".txt" as default
Updated snippets.