cleaned up. added timing. synchronous file reading.