changed back to original and added a new function 'assertUrlexists' as well added to checkJson program.file || program.url to take either one as argurment