Created program to use URL or file