complete file download process