Add more checks.
Update grader.js to accept a URL as well as a file.