Updated grader.js to take either a file or a URL as an input