Add .file property to errors throw in read().