fixed zip bug, enhanced demo file handling