revised error message for file open failure