change logic to compress asset files