BufferedWriter bw = new BufferedWriter(fw);
FileReader fr = new FileReader(source);
BufferedReader inputFile = new BufferedReader(fr);
try {
InputCppSourceCode sourceCode =
new InputCppSourceCode(inputFile, source.getName());
generateHeader(sourceCode, bw);
} catch (ParsingException pe) {
failed = true;
}