Refine packaging files