Implementing upload progress bar.