improve the publish folder operation to expand zip folder