added file upload in gallery