First attempt at sync readFile with exceptions

Doesn't quite work yet though