anchor.diff:  addFileChunk([{part_body, Data}|Res], State) ->
       addFileChunk([{body, Data}|Res], State);
   
  +addFileChunk([], State) when State#addfile.last==true,
  +			     State#addfile.filename /= undefined,
  +			     State#addfile.unzip == "on",
  +			     State#addfile.fd /= undefined ->
  +    file:close(State#addfile.fd),
  +    Page        = State#addfile.node,
  +    {File,FileDir} = page2filename(Page, State#addfile.root),
  +    FileName    = State#addfile.filename,
  +    case lists:reverse(FileName) of
  +	"piz."++_ ->
  +	    UnZipCmd = "cd "++State#addfile.root++"/"++FileDir++
  +		"; unzip -j -o -qq " ++ FileName ++"; rm -f " ++ FileName,
  +	    os:cmd(UnZipCmd);
  +	_ ->
  +	    done
  +    end,
  +    {done, {redirect_local, {rel_path, "importFiles.yaws?node="++str2urlencoded(Page)}}};
   addFileChunk([], State) when State#addfile.last==true,
   			     State#addfile.filename /= undefined,
   			     State#addfile.fd /= undefined ->
  
positive.code: 		   [
  		    input("hidden", "node", Page),
  		    input("hidden", "password", Password),
  		    "<table width=\"100%\"><tr>",
  		    "<th align=left>Attach new file: ",
  		    "<td align=left>",
  		    input("file","attached","30"),"\n",
  		    "<tr><th colspan=2 align=left>",
  		    "Description: ","\n",
  		    "<tr><td colspan=2 align=left>",
  		    textarea("text", 10, 72,""),"\n",
  		    "</table>",
  		    input("submit", "add", "Add"),
  		    input("button", "Cancel",
  			  "parent.location='editFiles.yaws?node="++
  			  str2urlencoded(Page)++"&password="++
  			  str2urlencoded(Password)++"'")])
  	     ],
  	    false).
      
  
negative.code: 	  cancel,
  	  fd,
  	  last,
  	  filename,
  	  unzip
  	  }).
  
  
  