modified ja_runner_par to work with two files