Fixed outputFilePath check