fixed grader for files