show progressbar while loading file