add progress bar for file connection