Fixed Error Handling code for readFile

fixed stream closing errors
Merge branch 'master' of https://github.com/jsduren/dev-projects