Fixed addgrade and added getstudentfile which produces file with grade