read and download files