fixed system file check to be negative