How upload folder /zip from 1 input field and icon photo from other field?

Hi, I am new comer at elgg and like to build a small plugin. I have tried to modify file plugin, but no luck.

Step-1: I need to upload 2 file from 2 input field, please check my view shot.

2. I need to unzip or extract zip file and then I need location of that folder.

3. I need to video photo and link the folder location with photo.


Please help.