Main functions definition
Working version.

Do not forget to change your :

Good folder list
Bad extension list
Download folder
(top of the code in global variable)