Main can now process both zip files and directories