calculate files/sec if files_done >= 10
if record size larger than file size, truncate record size