Generate distribution file