upload file to amazone s3  with progressbar