Improving the speed of upload by zipping when more than 2 files in the
resource folder.