Updated grader.js to take in file or url for checks