added capability to read from URL