Correct file download procedure