Groovy download url to file

The first is to use relative path uri, the second is to use file: url, and the last is to classpath: uri -->