changes paths to pair-wise input files
merge upstream