Originally posted by Tina Guilder: ...the purpose of this is so you dont have to keep typing it.
I think lajos is suggesting that your program needs to "open them, read them, and write what you read..."
You already have File objects representing the two "input" files. But if you want to write their contents out to a third file, you first need to "read in" that content. Hint: You're already using a FileOutputStream to write out to the third file, so to read in the contents of the first two files, you could use a...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org