readFile updated

streamReader closed properly now