file download controller made, redownload error correctd