adds read log by line number method. updates the example to demo the method. changes in some line formatting.