 	defp write_readme(output, {:ok, content}, modules, config) do
 		content = Autolink.project_doc(content, modules)
 		readme_html = Templates.readme_template(config, content) |> pretty_codeblocks
-		path = "#{output}/README.html"
-		log(path)
-		File.write(path, readme_html)
+		"#{output}/README.html" |> log |> File.write(readme_html)
 		true
 	end
 

		destination_path = Path.join(config.formatter_opts[:docset_root], "icon.tiff")
		custom_icon_path = Path.join(config.source_root, "icon.tiff")
		if File.exists?(custom_icon_path) do
			log(custom_icon_path)
			File.cp(custom_icon_path, destination_path)
		else
			create_file destination_path, default_icon_text()
		end

		generate_list(:protocols, protocols, all, output, config, has_readme)

		content = Templates.info_plist(config, has_readme)
		"#{output}/../../Info.plist" |> log |> File.write(content)

		config.formatter_opts[:docset_root]
	end
