Imported download (status/progress/indicator) code from downloads folder