> Would it not be reasonable to write code that assumes data that matches its checksum is valid? Isn't that the point of a checksum?
That would be absolutely unreasonable. Filesystems can be malicious, for example Stuxnet transmitted via USB flash drive.