works for local files before accepting url
submitted version of grader.js