Add idiom for opening a file and 'dying' upon failure
Add to error messages