Added timestamp to the log file every 4 KB.
Added calculation of throughput and latencies to log file.