Minor wording improvement in two error messages
Clear error-message variable after file operation, to initialize for future uses