parse wmt and source file simultaneously