I don't think getFullOutputFilename is used anymore. So lines 29 - 31 can be removed.