added fixFileURL method to properly format the URL if you don't add www. or http://www.