I'd include the path in the error message here (and watch your line length, this is getting pretty long, try to stay under 120).