added basic generate file