Added ability to specify URL via file or argument