Consistifying readFile approach