Fixing bugs, writing unzipping method