better error handling.
this is the test file i've been using. credit to github.com/attractivechaos/plb for the file