generate essential file