added a progress indicator for file uploads