refactoring of methods in upload and gradereader