Script to grab files from the internet, keeping a record as it goes