Added a progress bar for loading the file.