Because I love to practice and demonstrate Factor, this is working code for that example:
"f1.txt" "f2.txt" [ utf8 file-lines [ string>number ] map ] bi@ vdot