add url encode, delete files before convert