timings and memory usage for reading in a file