Added file end
If a file is missing, download it on the fly.