Added global base protocol and base url. Change url to file.