I think I should remove these logic here, since it already exist in webapp-zip.js.