added timing functions to reader and writer for performance eval.