Automatically create archives if required when select files to upload