Promoted url string literals to function parameters.
Added an --url-root option to specify what URL to get the files from.