Fix a bug, generate structure fileOutput structure