Updated grader.js to handle url or file.