Fixed downloading files