preparing files for packaging