Write a program that reads the names from the two input files and writes the names to the two output files