Updated grader.js to take URL and file