modification in generate file