Basic implementation of prepareGradeFile, won't do anything until gradefile_print function is working