Added checks for mutually exclusive use of file or url options
Added url support