Your task is to read an input file containing a name on each line, and then write an output file with those names, with the first letter of each name in uppercase. For example, if the input file contains the name "bugs bunny" on one line, the output file should contain "Bugs Bunny" on one line.