Updating grader.js to take either a file or a url as intput