upload folder for index and JSON DECODE