Added progress bar for file loading.