adding missing negation on isFileIntact