Added code to download and read files