implement file progress bar