Improved error reporting for file read ins.