public function remove(stdClass $submission) {
        $fs = get_file_storage();

        $fs->delete_area_files($this->assignment->get_context()->id,
                               'assignsubmission_file',
                               ASSIGNSUBMISSION_FILE_FILEAREA,
                               $submission->id);
        return true;
    }