Updated the code so it now outputs the time taken for read, exec and write