Fix bug in readFile where unreadable files are accessed anyways.
Fix bug in readFile where unreadable files are accessed anyways.

nellh/bids-validator,Squishymedia/BIDS-Validator,nellh/bids-validator,Squishymedia/bids-validator,nellh/bids-validator