url2data function

Create local copies of files read from urls