Added exception message about which file contains corrupt mode bits