Added more detailed error messages on file-read error. Fixes #4