* fixed need_to_download_file.
* made sure not to catch SystemExit in main.