Update to take either a file or a URL as an input on the command line