add zipping, improve file list functions.