Internal function.
updateInputFile(oldInputFile, newInputFile,excludeFile)
oldInputFile
newInputFile
excludeFile