Allow reasons to be provided for invalid read file format exceptions.