adding image sender
new added function to upload file