Generate package file