Godoc-compatible example of using ReadProfile