updated that now prints out times taken to read, execute and write