Added support to get file from a URL