file detection after download