def file_for(content)
      "snp_#{template_name}".tap do |file_name|
        File.open(file_name, "w+") { |f| f.write(content) }
      end
    end
def file_for(content)
      "snp_#{template_name}".tap do |file_name|
        File.open(file_name, "w+") { |f| f.write(content) }
      end
    end
Internal: creates a file in the working directory to wihch the snippet
 contents will be written to, allowing it to be edited.

 content - the content of the final snippet.