file_from_row function
checksum_thread implementation, simplify row iteration