Add option to set theme file upload path. Add doc in controller functions.