Sample script to read file data from it's url

This script can be used to read file's data by giving it's URL.
The returned contents can be assigned to variable and can be parsed as needed.