How to add KML "Custom Interactive Maps With the Google Maps API"

Hello. I’ve been following David East’s “Custom Interactive Maps With the Google Maps API” tutorial. I’m new to javascript and I’ve been able to follow David’s instructions really well.

I was wondering how to include a KML file in the map?