+ added readFile function