move readFile to the top of