Resolve issues depend on uploading file via designer

i) changes done in file.py ,file.html 
 resolve dependency