Changed the call to get the file from a whatever protocol the webpage is using.