generatorData generate file with head